Exp updated collisions and tougness tier

This commit is contained in:
Georgiy Gorin
2026-04-23 10:10:40 +03:00
parent cdb0ffd6a5
commit 7beb9ffbac
22 changed files with 12045 additions and 60 deletions
+2 -1
View File
@@ -171,7 +171,8 @@ func _try_enemy_kick() -> void:
return
# 3. Kick player directly if lower toughness and in range
if kick_tier > 0 and to_player.length() < ENEMY_KICK_RANGE:
#if kick_tier > 0 and to_player.length() < ENEMY_KICK_RANGE:
if to_player.length() < ENEMY_KICK_RANGE:
var player_toughness: int = target.get("toughness_tier") if target.get("toughness_tier") != null else 0
if player_toughness < kick_tier:
target.call("receive_kick", kick_dir, 35.0 + kick_tier * 8.0)