From 853dad08d0257b6bcf452b399c4d15ccefacdc1a Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Sat, 15 Jul 2023 15:10:34 +0800 Subject: [PATCH] warrior strategy optimize --- .../warrior/GenericWarriorNonCombatStrategy.cpp | 2 +- src/strategy/warrior/GenericWarriorStrategy.cpp | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/strategy/warrior/GenericWarriorNonCombatStrategy.cpp b/src/strategy/warrior/GenericWarriorNonCombatStrategy.cpp index 70b769a9..e494f4a2 100644 --- a/src/strategy/warrior/GenericWarriorNonCombatStrategy.cpp +++ b/src/strategy/warrior/GenericWarriorNonCombatStrategy.cpp @@ -10,6 +10,6 @@ void GenericWarriorNonCombatStrategy::InitTriggers(std::vector& tr NonCombatStrategy::InitTriggers(triggers); triggers.push_back(new TriggerNode("often", NextAction::array(0, new NextAction("apply stone", 1.0f), nullptr))); - triggers.push_back(new TriggerNode("battle stance", NextAction::array(0, new NextAction("battle stance", 1.0f), nullptr))); + // triggers.push_back(new TriggerNode("battle stance", NextAction::array(0, new NextAction("battle stance", 1.0f), nullptr))); } diff --git a/src/strategy/warrior/GenericWarriorStrategy.cpp b/src/strategy/warrior/GenericWarriorStrategy.cpp index c29f2155..f0ffe3b8 100644 --- a/src/strategy/warrior/GenericWarriorStrategy.cpp +++ b/src/strategy/warrior/GenericWarriorStrategy.cpp @@ -41,11 +41,13 @@ void WarrirorAoeStrategy::InitTriggers(std::vector& triggers) { triggers.push_back(new TriggerNode("thunder clap on snare target", NextAction::array(0, new NextAction("thunder clap on snare target", ACTION_HIGH + 3), nullptr))); triggers.push_back(new TriggerNode("thunder clap", NextAction::array(0, new NextAction("thunder clap", ACTION_HIGH + 10), nullptr))); - triggers.push_back(new TriggerNode("light aoe", NextAction::array(0, new NextAction("demoralizing shout", ACTION_HIGH + 1), nullptr))); + triggers.push_back(new TriggerNode("light aoe", NextAction::array(0, + new NextAction("demoralizing shout", ACTION_HIGH + 1), + new NextAction("shockwave", ACTION_HIGH + 4), + new NextAction("sweeping strikes", ACTION_HIGH + 3), + new NextAction("bladestorm", ACTION_HIGH + 3), + new NextAction("whirlwind", ACTION_HIGH + 2), + nullptr))); triggers.push_back(new TriggerNode("shockwave on snare target", NextAction::array(0, new NextAction("shockwave on snare target", ACTION_HIGH + 5), nullptr))); - triggers.push_back(new TriggerNode("shockwave", NextAction::array(0, new NextAction("shockwave", ACTION_HIGH + 4), nullptr))); - triggers.push_back(new TriggerNode("light aoe", NextAction::array(0, new NextAction("sweeping strikes", ACTION_HIGH + 3), nullptr))); - triggers.push_back(new TriggerNode("light aoe", NextAction::array(0, new NextAction("bladestorm", ACTION_HIGH + 3), nullptr))); - triggers.push_back(new TriggerNode("light aoe", NextAction::array(0, new NextAction("whirlwind", ACTION_HIGH + 2), nullptr))); triggers.push_back(new TriggerNode("high rage available", NextAction::array(0, new NextAction("whirlwind", ACTION_HIGH + 10), nullptr))); }