Pet attack (fix shadowfiend)

This commit is contained in:
Yunfan Li
2024-02-08 00:36:16 +08:00
parent 5e2497bf7e
commit 9e78a0b36a
11 changed files with 95 additions and 22 deletions

View File

@@ -13,6 +13,7 @@ void CombatStrategy::InitTriggers(std::vector<TriggerNode*> &triggers)
// triggers.push_back(new TriggerNode("out of react range", NextAction::array(0, new NextAction("flee to master", 55), nullptr)));
triggers.push_back(new TriggerNode("combat stuck", NextAction::array(0, new NextAction("reset", 1.0f), nullptr)));
triggers.push_back(new TriggerNode("not facing target", NextAction::array(0, new NextAction("set facing", ACTION_MOVE + 7), nullptr)));
triggers.push_back(new TriggerNode("pet attack", NextAction::array(0, new NextAction("pet attack", ACTION_NORMAL), nullptr)));
// triggers.push_back(new TriggerNode("combat long stuck", NextAction::array(0, new NextAction("hearthstone", 0.9f), new NextAction("repop", 0.8f), nullptr)));
}