Commit Graph

641 Commits

Author SHA1 Message Date
hondacrx 98206ec201 Fixes aura infinite loop
Port From (https://github.com/TrinityCore/TrinityCore/commit/9cb01a79046fce3f76835bb68bf66e4f3079e4bc)
2022-02-22 18:37:01 -05:00
hondacrx 839aad82d9 Removing a duplicate item combat spell handling causing poisons (and others) to proc twice.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e95215e9ae160ef896add877793a9d6aa7dc133b)
2022-02-22 14:27:32 -05:00
hondacrx c27475ae46 Core/MMAPs: Adjust walkable climb and fix a lot of mmap raycast issues
Port From (https://github.com/TrinityCore/TrinityCore/commit/89afeed41b4f040e4852b35183f30291588662d7)
2022-02-22 14:24:29 -05:00
hondacrx c9fa7d22fc Core/Units: Allow mind controlling non-controllable vehicles (for example players that become vehicle during boss encounters or creatures that only are vehicles to show non standard power type)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d56d92fbe7436af00e00b00ca5e7640f852d3485)
2022-02-22 13:43:52 -05:00
hondacrx 14ec7655ad Core/Spells: Relaxed aura exclusivity check to allow casting spells that have other, non-aura effects even if aura will not be applied
Port From (https://github.com/TrinityCore/TrinityCore/commit/6413466693e424ee42744a4cdb8b24502631fa49)
2022-02-22 13:28:18 -05:00
hondacrx 3dbe7259aa Core/Spells: Fixed refreshing stat buff auras that have been improved by talents
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d94bc2f4b23c51a69213a46b28a5e97aa99f5d5)
2022-02-18 17:31:31 -05:00
hondacrx a031530b2a Core/Auras: Prevent getting negative scale with auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/679e9910e09a55dd1743f236dbd99b7fa48fe9c1)
2022-02-18 16:40:32 -05:00
hondacrx e7eba5907d Core/Spells Fixed scroll stacking check when not targeting self
Port From (https://github.com/TrinityCore/TrinityCore/commit/c9443f190abdf2467386c64c0b476e2d6ec545f6)
2022-02-18 16:34:20 -05:00
hondacrx ce5b592d8b Core/Spells: Scrolls should not be consumed, when they fail to apply.
Port From (https://github.com/TrinityCore/TrinityCore/commit/88afe180b404324b3c1a5bfc31fa37c8ded48a78)
2022-02-18 13:44:18 -05:00
hondacrx 01b1b4f296 Core/Spells: Fix assertion triggered
Port From (https://github.com/TrinityCore/TrinityCore/commit/e71352db6f50d33de54b757a6af3cbe077136d65)
2022-02-18 13:19:50 -05:00
hondacrx 246c5c5eeb Core/Spells: Improve check for non damage/heal spells in Spell::TargetInfo::DoDamageAndTriggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/aa38443cf388799a5debd9cbcb787f882b840530)
2022-02-18 13:14:59 -05:00
hondacrx e2bbb95a96 Core/Spells: Fixed Ice Block / Divine Shield cast in Cyclone
Port From (https://github.com/TrinityCore/TrinityCore/commit/97ed31fe76e4e240354b1ff1af4405af487dee3b)
2022-02-18 13:13:52 -05:00
hondacrx a604bbd7f9 Core/Gameobjects: Improve stealth detection
Port From (https://github.com/TrinityCore/TrinityCore/commit/60e66621dae44cb832ebb0bdb5e168f9ab114ecb)
2022-02-18 12:51:16 -05:00
hondacrx 9d4096991c Core/Spells: Fixed checking free inventory space for some spells that have bad dbc data
Port From (https://github.com/TrinityCore/TrinityCore/commit/ba69c91f4bfec9999d151ef42f0b522924496264)
2022-02-17 17:05:24 -05:00
hondacrx f84ca3d6d7 Core/Spells: fixed a possible client crash when casting pull towards dest spells with misc value 0
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb7a60d49d1b545e09274e396e3f740359295c23)
2022-02-17 13:33:30 -05:00
hondacrx bd80047a09 Core/Spells: Implemented battle pet experience related spell effects and auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/9354b4ac8ec63f0b2ee5ceb3c8b6a3c6a75bd99f)
2022-02-17 10:40:20 -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 e2b6adacc3 Core/Spells: Use orientation given in destTarget instead of always taking casters orientation for all effect types
Port From (https://github.com/TrinityCore/TrinityCore/commit/853c58715ee969463721504eb1b0fecc87b04767)
2022-02-17 09:36:16 -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 26bec9ecb4 Core/Spells: Allow targeting script hooks to work with TARGET_DEST_DYNOBJ_ENEMY, TARGET_DEST_DYNOBJ_ALLY, TARGET_DEST_DYNOBJ_NONE, TARGET_DEST_DEST
Port From (https://github.com/TrinityCore/TrinityCore/commit/3c0baab57616733ff0e3b94ceb215f9bd78239ea)
2022-01-28 17:19:57 -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 883a3bb990 First try at updating command system to be like TC. Still needs alot of testing/work 2022-01-20 09:57:15 -05:00
hondacrx 595338284c Misc fixes. 2022-01-09 14:33:39 -05:00
hondacrx f8cd5846fc Core/Auras: Implemented SPELL_AURA_TRIGGER_SPELL_ON_EXPIRE
Port From (https://github.com/TrinityCore/TrinityCore/commit/792dab8f052f7cfb018ba2bafb68a3fe8154b764)
2022-01-09 14:14:29 -05:00
hondacrx 860bf84280 Core/ZoneScript: Add "invoker" param to ProcessEvent
Port From (https://github.com/TrinityCore/TrinityCore/commit/15b91836351a61f471865a751d4ff9ab0b5775a0)
2022-01-09 14:12:34 -05:00
hondacrx 1a09bfc275 Core/Spells: Fixed Spell::GetUnitTargetCountForEffect incorrectly counting missed targets instead of hit targets
Port From (https://github.com/TrinityCore/TrinityCore/commit/570e882d024991b44ccfd2fb2891a25ee054587b)
2022-01-07 17:03:52 -05:00
hondacrx cb7438506f Scripts/Spells: Implemented various rogue spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/a3d06f2f329a6d21b9a79aed8b39f1d56fa933e6)
2022-01-07 16:42:42 -05:00
hondacrx 5bb553b0e3 Core/Auras: Implemented SPELL_AURA_TRIGGER_SPELL_ON_HEALTH_PCT
Port From (https://github.com/TrinityCore/TrinityCore/commit/b221f4b37251db2206dd14d46c00f1b6f1f16480)
2022-01-07 13:46:21 -05:00
hondacrx e0340e7c07 Core/BattlePets: Misc fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/924182f692bde38d8fed85d5dbe7531a09790501)
2022-01-07 13:20:16 -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 a09f085aa9 Core/Spells: Fix missing "Inventory is full" with spells that create more than 1 item
Port From (https://github.com/TrinityCore/TrinityCore/commit/4e0da6f7d12bdbf9a333901f58903757d236c59f)
2022-01-07 12:54:01 -05:00
hondacrx 5b73cb06e7 Core/Spell: SPELL_EFFECT_PULL_TOWARDS correction
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc1c67183f9e35c4495cd19a7fd1c786c653e368)
2022-01-07 12:45:27 -05:00
hondacrx ddbfe81071 Core/Spell: Proper SPELL_EFFECT_PULL_TOWARDS_DEST implementation for players
Port From (https://github.com/TrinityCore/TrinityCore/commit/8ec51bf3b69b2d34607b555f2d52b09f8b73c9e3)
2022-01-07 11:16:51 -05:00
hondacrx dee852d202 Core/Units: UNIT_FLAG_PACIFIED will no longer block victim updates
Port From (https://github.com/TrinityCore/TrinityCore/commit/8f4c6ebb49832fa2564e5bdb573d350d39b33117)
2022-01-07 10:46:06 -05:00
hondacrx 6e0becd106 Core/Items: implement some helper methods for easier readability
Port From (https://github.com/TrinityCore/TrinityCore/commit/9124fd1f1fafea19b118eb69c6a35f94376fc7e8)
2022-01-06 10:57:06 -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 5f81b80b8d Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd929665e564e01b5346844adb96d8fd0eb710c4)
2022-01-06 00:02:56 -05:00
hondacrx 72fa0cd450 Core/Creature: Clear creature focus after an evade
Port From (https://github.com/TrinityCore/TrinityCore/commit/a7cf209428fae5b025a0dcdc6b00bcef12175ed6)
2022-01-05 23:55:47 -05:00