mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
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:
@@ -152,7 +152,7 @@ class spell_dk_raise_ally : public SpellScript
|
|||||||
|
|
||||||
SpellCastResult CheckCast()
|
SpellCastResult CheckCast()
|
||||||
{
|
{
|
||||||
Player* unitTarget = GetHitPlayer();
|
Unit* unitTarget = GetExplTargetUnit();
|
||||||
if (!unitTarget)
|
if (!unitTarget)
|
||||||
return SPELL_FAILED_BAD_TARGETS;
|
return SPELL_FAILED_BAD_TARGETS;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user