Fix warlock

This commit is contained in:
Yunfan Li
2024-04-15 20:36:37 +08:00
parent d6a4fc3872
commit 09ae42ea30

View File

@@ -45,5 +45,5 @@ bool UnstableAfflictionOnAttackerTrigger::IsActive()
bool DecimationTrigger::IsActive()
{
Aura *aura = botAI->GetAura(getName(), GetTarget(), false, true);
return aura->GetDuration() > 3000;
return aura && aura->GetDuration() > 3000;
}