mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Change default formation to Chaos
This as it looks more natural than the default near.
This commit is contained in:
@@ -495,7 +495,7 @@ float Formation::GetFollowAngle()
|
|||||||
}
|
}
|
||||||
|
|
||||||
FormationValue::FormationValue(PlayerbotAI* botAI)
|
FormationValue::FormationValue(PlayerbotAI* botAI)
|
||||||
: ManualSetValue<Formation*>(botAI, new NearFormation(botAI), "formation")
|
: ManualSetValue<Formation*>(botAI, new ChaosFormation(botAI), "formation")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -526,7 +526,7 @@ bool FormationValue::Load(std::string const formation)
|
|||||||
|
|
||||||
value = new QueueFormation(botAI);
|
value = new QueueFormation(botAI);
|
||||||
}
|
}
|
||||||
else if (formation == "chaos")
|
else if (formation == "chaos" || formation == "default")
|
||||||
{
|
{
|
||||||
if (value)
|
if (value)
|
||||||
delete value;
|
delete value;
|
||||||
@@ -561,7 +561,7 @@ bool FormationValue::Load(std::string const formation)
|
|||||||
|
|
||||||
value = new ArrowFormation(botAI);
|
value = new ArrowFormation(botAI);
|
||||||
}
|
}
|
||||||
else if (formation == "near" || formation == "default")
|
else if (formation == "near")
|
||||||
{
|
{
|
||||||
if (value)
|
if (value)
|
||||||
delete value;
|
delete value;
|
||||||
|
|||||||
Reference in New Issue
Block a user