Commit Graph

273 Commits

Author SHA1 Message Date
hondacrx 252cf1cfd0 Core/Spells: Fixed spell Launch phase being handled at incorrect time for spells with LaunchDelay
Port From (https://github.com/TrinityCore/TrinityCore/commit/3798de4b391ee74550083fd376faf69852f28e7e)
2022-05-09 12:35:24 -04:00
hondacrx 3806d3f18f Core/Spells: Ignore existing cooldown for spells using TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD instead of only skipping setting new cooldown
Port From (https://github.com/TrinityCore/TrinityCore/commit/d92f25478a3550c1e40f7e792ebfc6c50572ba97)
2022-05-07 22:43:46 -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 e1e8027159 Core/Auras: Implemented ProcFlags2
Port From (https://github.com/TrinityCore/TrinityCore/commit/7ff411013c9f6394161dbfdc07b3f3827b1de17f)
2022-05-07 15:05:30 -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 add1e659bf Core/Spells: Pass cast item level to triggered spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/8e2d1e328ebec60c76d65651b268ec3ad2ce26fc)
2022-05-05 10:21:47 -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 8c652aacc9 Core/Spells: Do not register instant spells in Unit current spell containers when cast with TRIGGERED_IGNORE_CAST_IN_PROGRESS
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8cace4c7086c65b760cca38c922410b7400130c)
2022-05-04 10:46:34 -04:00
hondacrx ecf40cda7e Scripts/Spells: Fixed paladin's Light's Hammer
Port From (https://github.com/TrinityCore/TrinityCore/commit/f3e908dc997833d3e2c5297471210bf075121f90)
2022-05-04 10:41:37 -04:00
hondacrx b048b57f46 Core/Spells: fix a possible crash when a target that has been focused during spell casts disappears
Port From (https://github.com/TrinityCore/TrinityCore/commit/f70161dcc5af3c2c958d4df559b77ace735fc7d4)
2022-05-04 10:04:12 -04:00
hondacrx 2c1cc804c3 Core/Spells: cleaned up and improved spell focusing behavior
Port From (https://github.com/TrinityCore/TrinityCore/commit/c295cb9814f4c2a1878aa047cefe0cfbc7958f93)
2022-05-04 10:02:53 -04:00
hondacrx d953548ad4 Core/Spells: Do not reset periodic timer for stacking DoTs on recast
Port From (https://github.com/TrinityCore/TrinityCore/commit/c42470ffb70ddf90ce0d3f447c0e57548be17192)
2022-05-04 09:44:37 -04:00
hondacrx b99f45b472 Core/Spell: Fix name clashing between local variables and class member fields
Port From (https://github.com/TrinityCore/TrinityCore/commit/c66bcc4c0ef0be3caac8c2e1b2e361de678fb6e4)
2022-04-28 09:54:59 -04:00
hondacrx c486b2a846 Core/Pets: Updated pet summoning for latest client version (5 Call Pet spells and stable size 200)
Port From (https://github.com/TrinityCore/TrinityCore/commit/950db60435e7e513633ff5b22ad7f0ed8b1147e4)
2022-03-10 12:02:05 -05:00
hondacrx 4a97585ee9 Core/Spells: Fix summoning warlock pets in case that pet has never been summoned before
Port From (https://github.com/TrinityCore/TrinityCore/commit/87b1c3700e8b8e5722b31fef2de124a2f39915c0)
2022-03-10 09:43:23 -05:00
hondacrx 26a3fb92b1 Core/Spells: Fix summoning SUMMON_PET type pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/48d491ae2ffbebc05aae46cad2c012a4e983fb11)
2022-03-10 09:41:42 -05:00
hondacrx 718302fa18 Core/Pets: Pet management refactoring
Port From (https://github.com/TrinityCore/TrinityCore/commit/ca92686b44cc8c53a8991bf02d6e8534797fc115)
2022-03-10 09:39:55 -05:00
hondacrx bfd598b640 Core/Scripts: Expose IsCrit to hit hooks for spell scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/2cc652b305f31ebcc71680f314792d0d09c43bfe)
2022-03-09 17:39:49 -05:00
hondacrx edafd0a270 Scripts/Spells: Fix shaman Earthquake
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e725e1d2521547ea651ef2b4e01c980c9b5ff3e)
2022-03-04 17:35:08 -05:00
hondacrx 042bfc12e5 Convert alot of methods to use TimeSpan. 2022-03-01 23:47:53 -05:00
hondacrx c14f1eb3dc Remove custom OptionalType and use the default c# nullable type. 2022-03-01 17:27:56 -05:00
hondacrx 561b5a528d Misc fixes 2022-02-28 13:28:57 -05:00
hondacrx 11768a594b Core/Spells: implement corpse target type support and properly fix resurrections
Port From (https://github.com/TrinityCore/TrinityCore/commit/8f4db9aa6919e2b3b22ec21ffea4eacb605e9bc2)
2022-02-27 21:12:11 -05:00
hondacrx 08aae42fe0 Scripts/Spells: Implement OnPrecast scripting hook for spell scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/12d00e2e5f7e2cc7efe1ea8d126f9408055c05f8)
2022-02-27 14:33:22 -05:00
hondacrx 6a2110d548 Core/Spells: Using hearthstone will teleport caster to map again
Port From (https://github.com/TrinityCore/TrinityCore/commit/d342be8c79a126ef01db9423484449d3ba7d97c7)
2022-02-27 13:43:49 -05:00
hondacrx 6f0b8760e2 Scripts/Spells: Fix shaman Mastery: Elemental Overload + Stormkeeper and Unlimited Power talents
Port From (https://github.com/TrinityCore/TrinityCore/commit/bd19e225137377a0d6925960b715f58ea18652bc)
2022-02-25 14:18:39 -05:00
hondacrx 4679bc9980 Core/Items: Implemented many new enchantment flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/241193cd0287c3d7a2cbaf7f2c5775d414b4d0b3)
2022-02-24 16:16:46 -05:00
hondacrx 1140ca430a Core/Spells: Added Spell const* constructor overload to CastSpellExtraArgs
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f0f9e6875cda744e9d70b858190825b97d1f047)
2022-02-24 15:55:38 -05:00
hondacrx a03149d9b4 Core/Spells: Implemented spell effect 225 (SPELL_EFFECT_GRANT_BATTLEPET_LEVEL)
Port From (https://github.com/TrinityCore/TrinityCore/commit/ddc71206de653d05aed479b82260bcf55dd72445)
2022-02-24 15:46:20 -05:00
hondacrx c41acd0bc8 Core/AI: refactor SpellHit and SpellHitTarget.
Port From (https://github.com/TrinityCore/TrinityCore/commit/3171cd3fa9dbcec43f5d70b74ab2f54a2aa44173)
2022-02-23 16:02:13 -05:00
hondacrx 19abbbf0b5 Core/Misc: Fixed resistance calculate for Mutated Transformation and Twilight Bloodbolt
Port From (https://github.com/TrinityCore/TrinityCore/commit/4110a06e8193329c31cb9d59d346294835fd51a5)
2022-02-22 20:11:11 -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 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 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 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 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 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 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