Commit Graph

251 Commits

Author SHA1 Message Date
hondacrx 722ed3be78 Core/Spells: SPELL_AURA_PERIODIC_DUMMY should be negative if TargetType is enemy
Port From (https://github.com/TrinityCore/TrinityCore/commit/81a5bc597bb1c5937658e0f487ef9a4b254c5cb9)
2022-02-24 10:57:19 -05:00
hondacrx 3c6e9e7795 Core/Misc: Create new enum for AreaIds
Port From (https://github.com/TrinityCore/TrinityCore/commit/60b48ad0467c4578d9944e53d9c55ed4b970a4ec)
2022-02-23 16:45:12 -05:00
hondacrx 3fb2429495 Core/Spells: SPELL_AURA_MOD_HEALING should be negative if TargetType is negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/71ce61cc951c5795b02f11212a392987d4ba0af1)
2022-02-23 16:34:44 -05:00
hondacrx bbd45a1886 Core/Spells: SPELL_AURA_MOD_ATTACK_POWER_PCT should be negative if TargetType or Basepoints are negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/fc43a95729109286d8ce0e0ecf3a2c3dcdbe2d5b)
2022-02-23 16:30:50 -05:00
hondacrx 99b4a7ea8b Misc fixes 2022-02-23 16:28:45 -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 595338284c Misc fixes. 2022-01-09 14:33:39 -05:00
hondacrx e89a36a232 Core/Spells: SPELL_AURA_48 implementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/37178ff311af95c4a2035a38839b5e8a9afe2af5)
2022-01-06 00:17:58 -05:00
hondacrx 63e8ecd4ec Core/Spells: Fix Spellsteal stealing Silence buff of Arcane Torrent
Port From (https://github.com/TrinityCore/TrinityCore/commit/fda1630f74af7ebdc056f6af8d9a2fac42fc9631)
2022-01-05 23:20:26 -05:00
hondacrx bae21a1a96 Core/Spells: Fixed some issues with Drain Soul
Port From (https://github.com/TrinityCore/TrinityCore/commit/47659e219a2143d1c121406453cc5a37216e1658)
2022-01-04 18:41:19 -05:00
hondacrx 73fa489610 Misc: some corrections after recent merges
Port From (https://github.com/TrinityCore/TrinityCore/commit/cadbf42ea4489933f28caf356f8c8d09ca243083)
2021-12-24 21:38:37 -05:00
hondacrx 7e09c70f80 Core/Spells: Initialize EffectIndex of empty effects to their proper values instead of always being 0
Port From (https://github.com/TrinityCore/TrinityCore/commit/759d2fdd862eb86d022e79adcd3a90374fef58e4)
2021-12-07 17:14:30 -05:00
hondacrx 05c2532986 Core/Spells: make Four Horsemen debuffs negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/b6dc6fd742f0671cb13e4db0d2e3a8d4bc59b497)
2021-12-07 14:23:39 -05:00
hondacrx 58eb8a4fd7 Core/Spell: Fixed some negative spells showing as positive
Port From (https://github.com/TrinityCore/TrinityCore/commit/33a2d627dd96535b5f0f08de9c17068cbd24212a)
2021-11-18 20:17:56 -05:00
hondacrx 8f85ff9250 Core/Spells: Malleable Goo need be negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/748e8463c7abc218075f7d70a234b0aaf3d07900)
2021-11-18 19:41:57 -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 51c292c349 Misc fixes 2021-11-15 22:40:38 -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 dce33d2b71 Core/Spells: Include RealPointsPerLevel when determining if aura is negative.
Port From (https://github.com/TrinityCore/TrinityCore/commit/c10ea614918ccbb6e0601117fd024a6e8c91a0b2)
2021-11-03 16:22:28 -04:00
hondacrx d5bdf04cca Misc updates. 2021-11-03 12:34:28 -04: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 af3445b40a Core/Spells: Shadow of Death & Spiritual Vengeance should be negative spells (BlackTemple/Teron Gorefiend)
Port From (https://github.com/TrinityCore/TrinityCore/commit/af26380d9b1fc86f9b70e744bacdb947770d47c9)
2021-10-14 19:37:44 -04:00
hondacrx 706567186c Core/Spells: Implemented SpellReagentsCurrency.db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/8492c273dd50227ca01ead785eda6c4de9361e74)
2021-10-10 17:02:33 -04:00
hondacrx feec594e98 Core/Spells: Corrected spell visual fallback logic for spell difficulty entries
Port From (https://github.com/TrinityCore/TrinityCore/commit/8147a42aefb5c94fb70205141e611d3100cbd99d)
2021-10-10 16:38:45 -04:00
hondacrx f8fd31b8c3 Core/Spells: Make some spells negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/4c6e89942f86b0b2cfa650c28a10e16a44a95d7f)
2021-09-29 18:31:25 -04:00
hondacrx 35710258b9 Some fixes from the ports. 2021-09-26 16:14:57 -04:00
hondacrx d450d62adb Core/Spells: Update effect value calculations
Port From (https://github.com/TrinityCore/TrinityCore/commit/0b882b2fa4305c8554d675d6c5ba46457c5188e4)
2021-09-21 18:50:51 -04:00
hondacrx ed98f4a2a4 Some fixes 2021-09-08 23:41:06 -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 949d4806c5 Core/Spells: rework part 5: GameObject casting
Port From (https://github.com/TrinityCore/TrinityCore/commit/962f6d7988b9003e550f6745be7cff812e9d8efa)
2021-08-29 18:27:08 -04:00
hondacrx e97ffa304d Core/Spells: rework part 4: iterate over effects first
Port From (https://github.com/TrinityCore/TrinityCore/commit/65dca120d34febdaa84a63e17f638ab0fa59b3df)
2021-08-28 22:35:39 -04:00
hondacrx 5ff5fb7d3f Core/Spells: rework part 2: Split up target selection logic
Port From (https://github.com/TrinityCore/TrinityCore/commit/52ae3c89d1d4dbcff309d940fd41c7212edc77b7)
2021-08-28 14:40:52 -04:00
hondacrx 9123dec4b9 Core/Spells: rework part 1: Improved positive detection logic
Port From (https://github.com/TrinityCore/TrinityCore/commit/1e1415a49128d034c8d48aa8cbb5d157200371b0)
2021-08-28 13:56:32 -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 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 69a832b162 Core/Spells: Load spell label data for future use
Port From (https://github.com/TrinityCore/TrinityCore/commit/e1f3f1254c3214c0a5b71db6de33f8900903d314)
2021-06-04 16:26:25 -04:00