fix(Scripts/Spells): fix a crash with Scent of Blood talent (#10078)
This commit is contained in:
parent
7f05e20994
commit
96cf1e60e9
1 changed files with 1 additions and 1 deletions
|
|
@ -693,7 +693,7 @@ class spell_dk_scent_of_blood_trigger : public AuraScript
|
|||
|
||||
bool CheckProc(ProcEventInfo& eventInfo)
|
||||
{
|
||||
return (eventInfo.GetHitMask() & (PROC_EX_DODGE | PROC_EX_PARRY)) || eventInfo.GetDamageInfo()->GetDamage();
|
||||
return (eventInfo.GetHitMask() & (PROC_EX_DODGE | PROC_EX_PARRY)) || (eventInfo.GetDamageInfo() && eventInfo.GetDamageInfo()->GetDamage());
|
||||
}
|
||||
|
||||
void Register() override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue