mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-15 18:00:27 +00:00
fix(spell): paladin and dk aggro spell, warrior
This commit is contained in:
@@ -7,5 +7,6 @@
|
||||
|
||||
bool CastSunderArmorAction::isUseful()
|
||||
{
|
||||
return CastSpellAction::isUseful();
|
||||
Aura *aura = botAI->GetAura("sunder armor", GetTarget(), false, true);
|
||||
return !aura || aura->GetStackAmount() < 5 || aura->GetDuration() <= 3000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user