1
0
mirror of https://github.com/veden/Rampant.git synced 2025-01-28 03:29:34 +02:00

FACTO-94: Siege groups should try settling further from player structures

This commit is contained in:
Aaron Veden 2022-04-09 17:50:40 -07:00
parent 77b0a44de7
commit eb21f6f1c5
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
2 changed files with 2 additions and 18 deletions

View File

@ -20,6 +20,7 @@ Version: 3.0.0
- Halved the base distance bonus per regional base level so regional base cover less ground
- Walls and transport belts no longer provide points to the AI when they are destroyed
- Reduced inferno fire damage by roughly ~75% and reduced inferno sticker damage by ~60%
- Siege groups should try to settle slightly further from player structures
Bugfixes:
- Fixed Krastorio2 on_force_created playerforces being nil
- Fixed enemy map scan creating bases unnecessarily

View File

@ -214,24 +214,7 @@ local function settleMove(map, squad)
)
)
else
position = findMovementPosition(
surface,
positionFromDirectionAndFlat(
nextAttackDirection,
groupPosition,
1.3
)
)
if not position then
position = findMovementPosition(
surface,
positionFromDirectionAndFlat(
attackDirection,
groupPosition,
1.3
)
)
end
position = groupPosition
end
else
position = findMovementPosition(