Tweaked Alterac Valley so bots kill final bosses (#886)

* Updated AV strategy so only 2 towers need to be down before final boss

* Adjusted role assignments for AV: less defenders, more forward attackers

* Added strategy for team has flag in WSG

team has flag triggers bg protect fc action @ 75 priority

* Updated protectFC function with MoveNear instead of follow
This commit is contained in:
avirar
2025-01-23 02:45:09 +11:00
committed by GitHub
parent 4e7d00b1a3
commit 1e9fd1607a
2 changed files with 46 additions and 14 deletions

View File

@@ -29,6 +29,8 @@ void WarsongStrategy::InitTriggers(std::vector<TriggerNode*>& triggers)
new TriggerNode("low mana", NextAction::array(0, new NextAction("bg use buff", 30.0f), nullptr)));
triggers.push_back(new TriggerNode(
"enemy flagcarrier near", NextAction::array(0, new NextAction("attack enemy flag carrier", 80.0f), nullptr)));
triggers.push_back(new TriggerNode(
"team has flag", NextAction::array(0, new NextAction("bg protect fc", 75.0f), nullptr)));
triggers.push_back(new TriggerNode("player has flag",
NextAction::array(0, new NextAction("bg move to objective", 90.0f), nullptr)));
}