mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 17:39:09 +00:00
Codestyle fix (#1797)
Warning: Dont change this PR as draft to make it testable DONT REVIEW UNTIL Codestyle C++ workflow dont pass
This commit is contained in:
@@ -413,10 +413,12 @@ void AiFactory::AddDefaultCombatStrategies(Player* player, PlayerbotAI* const fa
|
||||
|
||||
break;
|
||||
}
|
||||
if (PlayerbotAI::IsTank(player, true)) {
|
||||
if (PlayerbotAI::IsTank(player, true))
|
||||
{
|
||||
engine->addStrategy("tank face", false);
|
||||
}
|
||||
if (PlayerbotAI::IsMelee(player, true) && PlayerbotAI::IsDps(player, true)) {
|
||||
if (PlayerbotAI::IsMelee(player, true) && PlayerbotAI::IsDps(player, true))
|
||||
{
|
||||
engine->addStrategy("behind", false);
|
||||
}
|
||||
if (PlayerbotAI::IsHeal(player, true))
|
||||
@@ -706,7 +708,9 @@ void AiFactory::AddDefaultNonCombatStrategies(Player* player, PlayerbotAI* const
|
||||
// {
|
||||
// // nonCombatEngine->addStrategy("travel");
|
||||
// nonCombatEngine->addStrategy("rpg");
|
||||
// } else {
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// nonCombatEngine->addStrategy("move random");
|
||||
// }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user