From 2f78db81e3a3fcda149598d61a04e174f5583a8b Mon Sep 17 00:00:00 2001 From: SaW Date: Tue, 24 Dec 2024 16:46:51 +0100 Subject: [PATCH] Change default formation to Chaos This as it looks more natural than the default near. --- src/strategy/values/Formations.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/strategy/values/Formations.cpp b/src/strategy/values/Formations.cpp index a6f92ac5..4628c506 100644 --- a/src/strategy/values/Formations.cpp +++ b/src/strategy/values/Formations.cpp @@ -495,7 +495,7 @@ float Formation::GetFollowAngle() } FormationValue::FormationValue(PlayerbotAI* botAI) - : ManualSetValue(botAI, new NearFormation(botAI), "formation") + : ManualSetValue(botAI, new ChaosFormation(botAI), "formation") { } @@ -526,7 +526,7 @@ bool FormationValue::Load(std::string const formation) value = new QueueFormation(botAI); } - else if (formation == "chaos") + else if (formation == "chaos" || formation == "default") { if (value) delete value; @@ -561,7 +561,7 @@ bool FormationValue::Load(std::string const formation) value = new ArrowFormation(botAI); } - else if (formation == "near" || formation == "default") + else if (formation == "near") { if (value) delete value;