mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
arrow formation
This commit is contained in:
@@ -28,11 +28,11 @@ WorldLocation ArrowFormation::GetLocationInternal()
|
||||
tanks.PlaceUnits(&placer);
|
||||
tanks.Move(-cos(orientation) * offset, -sin(orientation) * offset);
|
||||
|
||||
offset += tankLines * sPlayerbotAIConfig->followDistance;
|
||||
offset += tankLines * sPlayerbotAIConfig->followDistance + sPlayerbotAIConfig->tooCloseDistance / 2;
|
||||
melee.PlaceUnits(&placer);
|
||||
melee.Move(-cos(orientation) * offset, -sin(orientation) * offset);
|
||||
|
||||
offset += meleeLines * sPlayerbotAIConfig->followDistance + sPlayerbotAIConfig->tooCloseDistance;
|
||||
offset += meleeLines * sPlayerbotAIConfig->followDistance + sPlayerbotAIConfig->tooCloseDistance / 2;
|
||||
ranged.PlaceUnits(&placer);
|
||||
ranged.Move(-cos(orientation) * offset, -sin(orientation) * offset);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user