Core/Spells: Fix Unrelenting assault proc only on players.
This commit is contained in:
@@ -441,9 +441,9 @@ public:
|
|||||||
if (!spellId)
|
if (!spellId)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Unit* target = GetHitUnit();
|
if (Player* target = GetHitPlayer())
|
||||||
if (target->HasUnitState(UNIT_STATE_CASTING))
|
if (target->HasUnitState(UNIT_STATE_CASTING))
|
||||||
target->CastSpell(target, spellId, true);
|
target->CastSpell(target, spellId, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Register()
|
void Register()
|
||||||
|
|||||||
Reference in New Issue
Block a user