Frost mage freeze procs complete

This commit is contained in:
Bobblybook
2024-07-23 21:38:40 +10:00
parent 79c7dcf4a1
commit b1ffbf2d99
3 changed files with 13 additions and 17 deletions

View File

@@ -36,10 +36,7 @@ bool FrostNovaOnTargetTrigger::IsActive()
if (!target || !target->IsAlive() || !target->IsInWorld()) {
return false;
}
bool aura = botAI->HasAura("frostbite", target);
if (aura)
LOG_DEBUG("playerbots", ":: FROST NOVA ACTIVE");
return !botAI->HasAura("frost nova", target);
return botAI->HasAura(spell, target);
}
bool FrostbiteOnTargetTrigger::IsActive()
@@ -48,8 +45,5 @@ bool FrostbiteOnTargetTrigger::IsActive()
if (!target || !target->IsAlive() || !target->IsInWorld()) {
return false;
}
bool aura = botAI->HasAura("frostbite", target);
if (aura)
LOG_DEBUG("playerbots", ":: FROSTBITE ACTIVE");
return botAI->HasAura("frostbite", target);
return botAI->HasAura(spell, target);
}