mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix warlock
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user