From 7392c5551a5e728baf0ad58026365e9722ce9a0c Mon Sep 17 00:00:00 2001 From: avirar Date: Sat, 4 Jan 2025 18:51:23 +1100 Subject: [PATCH] BuffTrigger instead of OnParty --- src/strategy/mage/MageTriggers.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/strategy/mage/MageTriggers.cpp b/src/strategy/mage/MageTriggers.cpp index 6513c6bd..85afe957 100644 --- a/src/strategy/mage/MageTriggers.cpp +++ b/src/strategy/mage/MageTriggers.cpp @@ -11,13 +11,15 @@ bool ArcaneIntellectOnPartyTrigger::IsActive() { return BuffOnPartyTrigger::IsActive() && - !botAI->HasAnyAuraOf(GetTarget(), "arcane brilliance", "arcane intellect", "dalaran brilliance", nullptr); + !botAI->HasAnyAuraOf(GetTarget(), "arcane brilliance", "arcane intellect", "dalaran brilliance", + "dalaran intellect", nullptr); } bool ArcaneIntellectTrigger::IsActive() { - return BuffOnPartyTrigger::IsActive() && - !botAI->HasAnyAuraOf(GetTarget(), "arcane brilliance", "arcane intellect", "dalaran brilliance", nullptr); + return BuffTrigger::IsActive() && + !botAI->HasAnyAuraOf(GetTarget(), "arcane brilliance", "arcane intellect", "dalaran brilliance", + "dalaran intellect", nullptr); } bool MageArmorTrigger::IsActive()