mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
fix(Scripts/Spells): Raise Ally now properly handles target check (#23272)
Co-authored-by: sudlud <[email protected]> Co-authored-by: sogladev <[email protected]>
This commit is contained in:
co-authored by
sudlud
sogladev
parent
c19593efe9
commit
705eefbc8f
@@ -152,7 +152,7 @@ class spell_dk_raise_ally : public SpellScript
|
||||
|
||||
SpellCastResult CheckCast()
|
||||
{
|
||||
Player* unitTarget = GetHitPlayer();
|
||||
Unit* unitTarget = GetExplTargetUnit();
|
||||
if (!unitTarget)
|
||||
return SPELL_FAILED_BAD_TARGETS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user