feat(@projects/@magic-civilization): ✨ add adjacent lair attack logic
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
7c67459530
commit
143c50ca4f
1 changed files with 1 additions and 0 deletions
|
|
@ -951,6 +951,7 @@ func _play_turn() -> void:
|
|||
lair_target = _find_nearest_low_lair(u.position, lair_max_tier)
|
||||
if lair_target != Vector2i(-1, -1):
|
||||
_move_toward(u, lair_target, game_map)
|
||||
_try_attack_adjacent_lair(u, game_map)
|
||||
elif u.position != city_pos:
|
||||
_move_toward(u, city_pos, game_map)
|
||||
elif not u.is_fortified:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue