mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Change default formation to Chaos
This as it looks more natural than the default near.
This commit is contained in:
parent
d9f9d980cf
commit
2f78db81e3
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user