mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-25 14:36:22 +00:00
Fix warlock
This commit is contained in:
@@ -45,5 +45,5 @@ bool UnstableAfflictionOnAttackerTrigger::IsActive()
|
|||||||
bool DecimationTrigger::IsActive()
|
bool DecimationTrigger::IsActive()
|
||||||
{
|
{
|
||||||
Aura *aura = botAI->GetAura(getName(), GetTarget(), false, true);
|
Aura *aura = botAI->GetAura(getName(), GetTarget(), false, true);
|
||||||
return aura->GetDuration() > 3000;
|
return aura && aura->GetDuration() > 3000;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user