This commit is contained in:
Ovahlord committed 2022-10-02 19:31:03 +02:00
1 parent 2ad8b1ee6f
commit 1e4b062b1d
1 file changed
+1 -1
+1 -1
View File
@@ -1796,7 +1796,7 @@ class spell_dk_dark_simulacrum : public AuraScript
if (eventInfo.GetActor()->IsPlayer())
{
Spell const* spell = eventInfo.GetProcSpell();
if (!spell || !spell->GetPowerCost() || !eventInfo.GetSpellInfo()->PowerType != POWER_MANA || spell->IsTriggered())
if (!spell || !spell->GetPowerCost() || eventInfo.GetSpellInfo()->PowerType != POWER_MANA || spell->IsTriggered())
return false;
}
else // Creature spells are simply defined by the attribute