Commit Graph

108 Commits

Author SHA1 Message Date
hondacrx 3cacc1ff68 Core/Misc: Define / rename attributes and flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/e72264cfbd4b3bd925a634d99ab1717a1c0a6b91)
2022-05-26 16:25:16 -04:00
hondacrx f705cae647 Core/Spells: Correct swapped TARGET_UNIT_NEARBY_ALLY and TARGET_UNIT_NEARBY_PARTY
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a595d55b237038fb2856f4d5fcfa7bf44f12a04)
2022-05-24 18:23:20 -04:00
hondacrx 3c3d16ab09 Core/Spells: unify OnSpellCastInterrupt and OnSuccessfulSpellCast hooks into OnSpellCastFinished
Port From (https://github.com/TrinityCore/TrinityCore/commit/d1594c7295f1ca3f21a63a13895abf371d8bd3e0)
2022-05-24 12:54:25 -04:00
hondacrx 9ee18f2c9e Core/Misc: Update various enums for 9.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/ce49d5615bd041700a253239c864a18f87e79216)
2022-05-10 09:31:05 -04:00
hondacrx af276ca0c4 Core/DataStores: Updated db2 structures to 9.2.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/7fbdd6473e5c67d002029d3c3675977e6b037e88)
2022-05-10 09:23:07 -04:00
hondacrx 9c5330fd99 Core/Spells: Implement spell attribute SPELL_ATTR3_NO_DURABILITY_LOSS
Port From (https://github.com/TrinityCore/TrinityCore/commit/f205a89c86f64bab531a611aa89766aad1c27e83)
2022-05-09 13:03:59 -04:00
hondacrx f67434306f Core/Auras: Proc flag updates
Port From (https://github.com/TrinityCore/TrinityCore/commit/02979daf761a5122efa7b8fa3e70509ecd69789e)
2022-05-07 22:41:24 -04:00
hondacrx cf15d538cc Core/Spells: Load entire proc flags array from db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/3844c79adb749432b0f41b9b1aecde7287b9f765)
2022-05-07 14:56:20 -04:00
hondacrx fcdcb69fe5 Core/Spells: Implement CAST_FLAG_EX_IGNORE_COOLDOWN - causes spells to not automatically trigger cooldown clientside
Port From (https://github.com/TrinityCore/TrinityCore/commit/66509502f4a5065d74cb3da501558f7eff6ea1ec)
2022-05-05 09:54:37 -04:00
hondacrx 09a4e13453 Core/Spells: Implement SPELL_ATTR7_NO_ATTACK_DODGE, SPELL_ATTR7_NO_ATTACK_PARRY and SPELL_ATTR7_NO_ATTACK_MISS
Port From (https://github.com/TrinityCore/TrinityCore/commit/d22d4616339a966ce5e5fe959dca622fc21b7988)
2022-05-05 09:52:50 -04:00
hondacrx 1daa90dfb9 Core/Spells: Implement SPELL_ATTR7_BYPASS_NO_RESURRECT_AURA
Port From (https://github.com/TrinityCore/TrinityCore/commit/2ae67de4c0f327edc60d5da9cc815016d48b7228)
2022-05-05 09:36:14 -04:00
hondacrx a167709cdf Core/Spells: Implemented PROC_ATTR_CANT_PROC_FROM_ITEM_CAST
Port From (https://github.com/TrinityCore/TrinityCore/commit/a3cc94080f9e5a246f5d6d64ef8ab5cc929da2ab)
2022-04-28 10:40:19 -04:00
hondacrx b9caad7455 Core/Spells: Correct implementation of SPELL_ATTR2_TRIGGERED_CAN_TRIGGER_PROC, SPELL_ATTR3_TRIGGERED_CAN_TRIGGER_PROC_2, SPELL_ATTR3_CAN_PROC_WITH_TRIGGERED and rename them (SPELL_ATTR2_ACTIVE_THREAT, SPELL_ATTR3_NOT_A_PROC, SPELL_ATTR3_CAN_PROC_FROM_PROCS)
Port From (https://github.com/TrinityCore/TrinityCore/commit/b6bc8a50acaf153849f58c8b408e236bb2b70c35)
2022-03-10 13:40:20 -05:00
hondacrx 1b37eb0525 Core/Auras: Named new proc flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/c2dd07aa32f5071b7f48819b44344060eae1be06)
2022-02-28 13:17:54 -05:00
hondacrx b7cd5b11f2 Core/Spells: Validate spell_proc.AttributesMask on startup
Port From (https://github.com/TrinityCore/TrinityCore/commit/415aaae7f2fa3a5e09a51b0355120bf4138cde41)
2022-02-25 13:02:48 -05:00
hondacrx 3484687b91 Core/Spells: Name more targets (without implementation)
Port From (https://github.com/TrinityCore/TrinityCore/commit/116a3ab6943595939438a4fbbe5d098d686832d1)
2022-02-17 10:01:52 -05:00
hondacrx 0c12348cc0 Core/Spells: Implemented target 124 TARGET_UNIT_TARGET_TAP_LIST
Port From (https://github.com/TrinityCore/TrinityCore/commit/f5631b713401233511c5a50b0914f5ba0051b676)
2022-02-17 09:57:10 -05:00
hondacrx ed6d50391b Core/Spells: Implemented target 121 TARGET_CORPSE_TARGET_ALLY
Port From (https://github.com/TrinityCore/TrinityCore/commit/195457b68246ac17d6c2e6ba91259e63fbe48b55)
2022-02-17 09:54:03 -05:00
hondacrx ae8abf20d8 Core/Spells: Implemented target 115 TARGET_UNIT_SRC_AREA_FURTHEST_ENEMY
Port From (https://github.com/TrinityCore/TrinityCore/commit/b50783ae80bdd6595c8a5f262171fdef5659da2d)
2022-02-17 09:49:34 -05:00
hondacrx 1b1214263f Core/Spells: Implemented target 116 TARGET_UNIT_AND_DEST_LAST_ENEMY
Port From (https://github.com/TrinityCore/TrinityCore/commit/115409f353141dc8cf49a91699e9593b1bf04385)
2022-02-17 09:45:51 -05:00
hondacrx fde2f3cac1 Core/Spells: Rename targets 110 to TARGET_UNIT_CONE_CASTER_TO_DEST_ENTRY
Port From (https://github.com/TrinityCore/TrinityCore/commit/730fc4665bee1b153987aa105aa509edec92e235)
2022-02-17 09:41:48 -05:00
hondacrx 94f716f288 Core/Spells: Rename targets 108 and 109 to include CASTER_TO_DEST wording
Port From (https://github.com/TrinityCore/TrinityCore/commit/3c11ae4156e75b29efcbb65c94387febebd21893)
2022-02-17 09:40:12 -05:00
hondacrx 12045b8c70 Core/Spells: Implemented target 107 TARGET_DEST_NEARBY_ENTRY_2 (the same as target 46)
Port From (https://github.com/TrinityCore/TrinityCore/commit/3a26b0b01346298b0ff4e8b3505f30f84c20ebba)
2022-02-17 09:37:54 -05:00
hondacrx 11e97aa548 Core/Spells: Implemented target 62 TARGET_DEST_CASTER_GROUND (the same as target 125)
Port From (https://github.com/TrinityCore/TrinityCore/commit/88cf53e54a4cda8fa8f1e3ef8b0766b5e6ac8c27)
2022-02-17 09:32:03 -05:00
hondacrx c81497bb36 Core/Spells: Rename TARGET_UNIT_CONE_ENEMY_54 to TARGET_UNIT_CONE_180_DEG_ENEMY and add 180 degree fallback for this target type
Port From (https://github.com/TrinityCore/TrinityCore/commit/8921d07201addf661db1642e507034a24fdfa3de)
2022-02-17 09:26:49 -05:00
hondacrx 393cd1e6d0 Core/Spells: Implemented target 105 TARGET_UNIT_CASTER_AND_PASSENGERS
Port From (https://github.com/TrinityCore/TrinityCore/commit/bbdb70ed57887465f5e06a131c8326b71743950c)
2022-02-16 13:17:28 -05:00
hondacrx 5c6a175dc1 Core/Spells: Implemented target 136 TARGET_UNIT_CONE_CASTER_TO_DEST_ALLY
Port From (https://github.com/TrinityCore/TrinityCore/commit/565ef6a2f4b1db76418c84f1007f75343adce3f7)
2022-02-16 13:11:19 -05:00
hondacrx c0795c5849 Core/Spells: Rename TARGET_UNIT_CONE_ENEMY_104 to TARGET_UNIT_CONE_CASTER_TO_DEST_ENEMY
Port From (https://github.com/TrinityCore/TrinityCore/commit/70f1eaac4867cac94fb1a19f5bbf5096366f6281)
2022-02-16 13:09:48 -05:00
hondacrx 8d7ba1061c Core/Spells: Implemented target 137 TARGET_DEST_CASTER_MOVEMENT_DIRECTION
Port From (https://github.com/TrinityCore/TrinityCore/commit/f515424217b6470b73269c7671a3086ff19c2359)
2022-02-16 13:05:11 -05:00
hondacrx 13fed278be Core/Spells: Implemented target 138 TARGET_DEST_DEST_GROUND
Port From (https://github.com/TrinityCore/TrinityCore/commit/8029035b80b3f07527affb1cc44350bb78790d28)
2022-01-28 17:19:16 -05:00
hondacrx 6c0e21b4de Misc updates/fixes 2022-01-27 12:36:56 -05:00
hondacrx 9e7eca2258 Core/Spells: Corrected SPELL_ATTR8_MASTERY_AFFECTS_POINTS attribute implementation, it is no longer used to restrict if the spell should be cast or not (SpecializationSpells.db2 takes care of that)
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a4c7c1e27ac5236874a8fd5315abee196ab4c9a)
2022-01-07 12:56:36 -05:00
hondacrx a2dcceb4f2 Core/Auras: Implemented ChangeSpec, ChangeTalent and ChangeGlyph interrupt flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/05037bd936756b8ae553d17fd920ad8316f27487)
2022-01-01 17:13:41 -05:00
hondacrx f7023cb290 Core/Spells: Implemented SPELL_ATTR1_CAST_WHEN_LEARNED
Port From (https://github.com/TrinityCore/TrinityCore/commit/747da1f804a05462fb0d542a9570f27a549688dc)
2021-12-16 13:00:53 -05:00
hondacrx 1adfbb7a88 Fix build 2021-11-23 20:59:31 -05:00
hondacrx 9268b931c8 Core/Spells: Fixed ErrorCube spell missiles
Port From (https://github.com/TrinityCore/TrinityCore/commit/ce794f3978e853341b2dc0c782e7bda34303b3f8)
2021-11-18 14:30:42 -05:00
hondacrx 563ab5da05 Core/Auras: Implement SpellAuraInterruptFlags2::Ground and SpellAuraInterruptFlags2::Swimming
Port From (https://github.com/TrinityCore/TrinityCore/commit/107f5ce0a40fdbd325cdb467baaee841d39e0958)
2021-11-08 10:49:00 -05:00
hondacrx f307f175a3 Core/Misc: 9.1.5 enum updates
Port From (https://github.com/TrinityCore/TrinityCore/commit/82c2365782f3d8f3d896160a1df6b5fa47058986)
2021-11-07 20:38:35 -05:00
hondacrx f2e56ccb41 Core/DataStores: Updated db2 structures to 9.1.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/d52c00a8fe79186013980af0e2caa3fd13c0c5fa)
2021-11-07 15:53:12 -05:00
hondacrx 0b64c4a02e Core/Auras: Implemented SPELL_AURA_ADD_PCT_MODIFIER_BY_SPELL_LABEL and SPELL_AURA_ADD_FLAT_MODIFIER_BY_SPELL_LABEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/ba4fa060d765a35507f1a73287504c3f2e440fdb)
2021-10-17 09:11:00 -04:00
hondacrx 18eb2cbe81 Core/Player: fix periodic eating and drinking emotes
Port From (https://github.com/TrinityCore/TrinityCore/commit/753d5a5d5f332791ccc97cf481f064822aa39be8)
2021-10-02 19:48:52 -04:00
hondacrx dbfef1ee87 Core/Auras: Don't save liquid auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/2bea816bbec6ba9d50f7bd6725806e81c6cafaae)
2021-09-24 10:16:38 -04:00
hondacrx b071efe105 Core/Spell: fix LoS checks for GameObject spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/50fe2dc7e305fa32d30bac6ad0ced2e5647ac02b)
2021-09-08 23:35:22 -04:00
hondacrx f9779537a8 Core/Spells: Fix periodic rolling adding bonuses twice
Port From (https://github.com/TrinityCore/TrinityCore/commit/9fa95b4b57c1d843392d0c321cdabbc3a21e1d69)
2021-09-08 22:52:23 -04:00
hondacrx 5c4a7511ff Core/Spells: Cleanup spell effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a4e1119ac21e2d1112d1717337597fe073e495f)
2021-09-08 17:40:50 -04:00
hondacrx 35c3699d4e Core/Conditions: validate object types when conditioning implicit spell targets with CONDITION_OBJECT_ENTRY_GUID
Port From (https://github.com/TrinityCore/TrinityCore/commit/08f4f9b3241240bd02ba828d2fc1eee6de6b145c)
2021-08-23 14:41:04 -04:00
hondacrx c3367b7508 Core/Spells Implement targets 133, 134, 135 : TARGET_UNIT_LINE_CASTER_TO_DEST_***
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb6761c273d518eae6bab72fc9c2a2b6f93eec83)
2021-08-15 09:05:23 -04:00
hondacrx 10d7140450 Core/Misc: Updated SpellCastResult, GameError and HotfixStatus enums
Port From (https://github.com/TrinityCore/TrinityCore/commit/262ee285db1c69169210fc09cebca91a19cea4f2)
2021-08-08 14:44:52 -04:00
hondacrx 7ca12d9793 Core/DataStores: 9.1.0 db2 structures
Port From (https://github.com/TrinityCore/TrinityCore/commit/ce1046a8fd0f04aad6c414786949269fffea88f3)
2021-08-08 14:40:42 -04:00
hondacrx eefb63647d Core/Spells: prevent creatures to focus channeled spells without SPELL_ATTR1_CHANNEL_TRACK_TARGET
Port From (https://github.com/TrinityCore/TrinityCore/commit/d91e099b10a33d9205c023c81bcc966d713c39ab)
2021-06-23 23:43:18 -04:00