ranged and group heal

This commit is contained in:
Yunfan Li
2023-07-31 12:49:39 +08:00
parent 0cd1fa4db3
commit dce11e8781
4 changed files with 7 additions and 6 deletions

View File

@@ -10,5 +10,5 @@ void RangedCombatStrategy::InitTriggers(std::vector<TriggerNode*> &triggers)
CombatStrategy::InitTriggers(triggers);
triggers.push_back(new TriggerNode("enemy too close for spell", NextAction::array(0, new NextAction("flee", ACTION_HIGH), 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("not facing target", NextAction::array(0, new NextAction("set facing", ACTION_MOVE + 7), nullptr)));
}