Skip to content

Commit

Permalink
Change default formation to Chaos
Browse files Browse the repository at this point in the history
This as it looks more natural than the default near.
  • Loading branch information
nl-saw authored Dec 24, 2024
1 parent d9f9d98 commit 2f78db8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/strategy/values/Formations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ float Formation::GetFollowAngle()
}

FormationValue::FormationValue(PlayerbotAI* botAI)
: ManualSetValue<Formation*>(botAI, new NearFormation(botAI), "formation")
: ManualSetValue<Formation*>(botAI, new ChaosFormation(botAI), "formation")
{
}

Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2f78db8

Please sign in to comment.