diff options
author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2020-06-29 21:03:03 +0000 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-01-20 00:13:02 +0100 |
commit | 8f4db9aa6919e2b3b22ec21ffea4eacb605e9bc2 (patch) | |
tree | 9863a03c733072d6c7f8ab4125e8e683f72c3d6b /src/server/game/Spells/SpellScript.h | |
parent | b9666481bbf943000c6c925c3287c1e1c9a94e7f (diff) |
Core/Spells: implement corpse target type support and properly fix resurrections (#24921)
* Core/Spells: implement corpse target type support and properly fix resurrections
(cherry picked from commit df193945d9aff8596985a20e2c654105354b0af7)
* Core/Spells: implement TARGET_CORPSE_SRC_AREA_RAID and updated remaining resurrection effect handlers for updated corpse targeting
(cherry picked from commit 98b075cb4b0da126d409ab42daa63a1f531a70ea)
* Fix no-pch
Co-authored-by: Ovahlord <dreadkiller@gmx.de>
(cherry picked from commit cc71da35b5dc74abf71f8691161525a23d870bb5)
Diffstat (limited to 'src/server/game/Spells/SpellScript.h')
-rw-r--r-- | src/server/game/Spells/SpellScript.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellScript.h b/src/server/game/Spells/SpellScript.h index 16724dc3fa0..28d4e103a1d 100644 --- a/src/server/game/Spells/SpellScript.h +++ b/src/server/game/Spells/SpellScript.h @@ -486,6 +486,7 @@ class TC_GAME_API SpellScript : public _SpellScript int64 GetUnitTargetCountForEffect(SpellEffIndex effect) const; int64 GetGameObjectTargetCountForEffect(SpellEffIndex effect) const; int64 GetItemTargetCountForEffect(SpellEffIndex effect) const; + int64 GetCorpseTargetCountForEffect(SpellEffIndex effect) const; // methods useable only during spell hit on target, or during spell launch on target: // returns: target of current effect if it was Unit otherwise NULL |