Commit Graph

166 Commits

Author SHA1 Message Date
hondacrx 8f28b5df58 Scripts/Spells: Handle quest tame spells in spell script
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e3f2400519a0bcf1d15f62905ab4447619d4fe2)
2022-05-30 00:12:05 -04:00
hondacrx 80fb973080 Core/Spells: implement SpellInfo helper to filter for relevant mechanic immunities in spell_start packet
Port From (https://github.com/TrinityCore/TrinityCore/commit/60119ba8503e1b8e17d7163baf990022b2d25d41)
2022-05-26 16:30:18 -04:00
hondacrx 5edc228fa6 Revert "Core/Spells: Spells with Attribute SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY should dispel snare auras.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e69b64d6711efa5c6c92f02d7b05aae72f08002)
2022-05-26 16:15:22 -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 9f7db1d08b Core/Spells: SPELL_AURA_MOD_HEALING_PCT should be negative if TargetType is enemy or BasePoints are negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/8585b127f4ee8d6bd30ce2e413ce7676fba097ac)
2022-05-24 10:14:44 -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 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 fe56f40eac Core/Spells: Fixed TARGET_UNIT_TARGET_ALLY_OR_RAID targeting
Port From (https://github.com/TrinityCore/TrinityCore/commit/25b84e5e7b215439e3f95a360c36ac430f974a94)
2022-05-05 10:03:27 -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 facb5c89a1 Core/Spells: Check a few aura effects for determining if should be negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/81154a7455fccdcc55e740f98d73face3adc8da4)
2022-02-28 14:06:44 -05:00
hondacrx 353a12b010 Core/Spells: Check a few aura effects for determining if should be negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8edacd20b8250785b649bba22f0e920815885b6)
2022-02-27 23:28:57 -05:00
hondacrx 05c61d9bd5 Core/Spells: SPELL_AURA_MOD_HEALTH_REGEN_PERCENT should be negative if TargetType is enemy and Basepoints are negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/a16c804ea06ec6f8fbae701cf71e19201072478d)
2022-02-27 23:20:13 -05:00
hondacrx f1cfc81fe6 Core/Spells: SPELL_AURA_MELEE_SLOW should be negative if TargetType is enemy or Basepoints are negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/de21d446aac99b6d582acdad922d2c5ed0ada739)
2022-02-27 23:19:13 -05:00
hondacrx e46eb321fd Core/Spells: SPELL_AURA_MOD_MELEE_RANGED_HASTE should be negative if Basepoints are negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc6e616e6106e8eb168f528c74f98afb01a6b482)
2022-02-27 23:18:29 -05:00
hondacrx 26deeb7a1e Core/Conditions: Initial support for UnitCondition.db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/72286dc5e4fa5db2aff012d9cd496a8a6fc514c3)
2022-02-26 17:32:19 -05:00
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