mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-24 05:56:23 +00:00
debuff trigger and action, allow multiple spell
This commit is contained in:
@@ -33,7 +33,8 @@ bool ShamanWeaponTrigger::IsActive()
|
||||
|
||||
bool ShockTrigger::IsActive()
|
||||
{
|
||||
return SpellTrigger::IsActive() && !botAI->HasAnyAuraOf(GetTarget(), "frost shock", "earth shock", "flame shock", nullptr);
|
||||
return SpellTrigger::IsActive() && !botAI->HasAura("flame shock", GetTarget(), false, true) &&
|
||||
!botAI->HasAura("frost shock", GetTarget(), false, true);
|
||||
}
|
||||
|
||||
bool TotemTrigger::IsActive()
|
||||
|
||||
Reference in New Issue
Block a user