fix(Scripts/Spells): Raise Ally now properly handles target check (#23272)

Co-authored-by: sudlud <sudlud@users.noreply.github.com>
Co-authored-by: sogladev <sogladev@gmail.com>
This commit is contained in:
Luca Folloni
2025-11-22 22:19:10 +01:00
committed by GitHub
parent c19593efe9
commit 705eefbc8f

View File

@@ -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;