This commit is contained in:
Yunfan Li
2024-04-15 17:05:50 +08:00
parent 0499e5da46
commit c5abc2ee1e
2 changed files with 6 additions and 0 deletions

View File

@@ -42,3 +42,8 @@ bool UnstableAfflictionOnAttackerTrigger::IsActive()
// !botAI->HasAura("unstable affliction", GetTarget(), false, true);
}
bool DecimationTrigger::IsActive()
{
Aura *aura = botAI->GetAura(getName(), GetTarget(), false, true);
return aura->GetDuration() > 3000;
}