shaman, rogue strategy port, use item action.

This commit is contained in:
Yunfan Li
2023-06-08 10:37:13 +08:00
parent 231b0b51e4
commit 89d24b646c
34 changed files with 664 additions and 109 deletions

View File

@@ -13,8 +13,19 @@ void TotemsShamanStrategy::InitTriggers(std::vector<TriggerNode*>& triggers)
{
GenericShamanStrategy::InitTriggers(triggers);
triggers.push_back(new TriggerNode("grace of air totem", NextAction::array(0, new NextAction("grace of air totem", 16.0f), nullptr)));
triggers.push_back(new TriggerNode("mana spring totem", NextAction::array(0, new NextAction("mana spring totem", 19.0f), nullptr)));
triggers.push_back(new TriggerNode("strength of earth totem", NextAction::array(0, new NextAction("strength of earth totem", 18.0f), nullptr)));
triggers.push_back(new TriggerNode("flametongue totem", NextAction::array(0, new NextAction("flametongue totem", 17.0f), nullptr)));
triggers.push_back(new TriggerNode(
"wrath of air totem",
NextAction::array(0, new NextAction("wrath of air totem", 8.0f), NULL)));
triggers.push_back(new TriggerNode(
"no water totem",
NextAction::array(0, new NextAction("mana spring totem", 7.0f), NULL)));
triggers.push_back(new TriggerNode(
"strength of earth totem",
NextAction::array(0, new NextAction("strength of earth totem", 6.0f), NULL)));
triggers.push_back(new TriggerNode(
"no fire totem",
NextAction::array(0, new NextAction("flametongue totem", 5.0f), NULL)));
}