Core/Spells: fixed a potential crash in Will of the Necropolis aurascript
This commit is contained in:
1 parent
cdc0e22c33
commit
1b0e6ca130
1 file changed
+1
-1
@@ -1150,7 +1150,7 @@ class spell_dk_will_of_the_necropolis : public AuraScript
|
||||
|
||||
bool CheckProc(ProcEventInfo& eventInfo)
|
||||
{
|
||||
return GetTarget()->HealthBelowPctDamaged(30, eventInfo.GetDamageInfo()->GetDamage());
|
||||
return eventInfo.GetDamageInfo() && GetTarget()->HealthBelowPctDamaged(30, eventInfo.GetDamageInfo()->GetDamage());
|
||||
}
|
||||
|
||||
void HandleProc(AuraEffect const* aurEff, ProcEventInfo& /*eventInfo*/)
|
||||
|
||||
Reference in new issue
Block a user