mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Fix warlock
This commit is contained in:
parent
d6a4fc3872
commit
09ae42ea30
@ -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;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user