feat: Implement core player character logic including movement, state management, and network synchronization, and add a new special tiles manager.

This commit is contained in:
Yogi Wiguna
2026-03-25 16:47:48 +08:00
parent 0a8e2b9702
commit 21dcaf72f8
2 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -379,7 +379,7 @@ func _execute_area_freeze(target_pos: Vector2i = Vector2i(-9999, -9999)):
# If inside square radius
if dx <= radius and dy <= radius:
if multiplayer.has_multiplayer_peer() and multiplayer.multiplayer_peer.get_connection_status() == MultiplayerPeer.CONNECTION_CONNECTED:
p.rpc("apply_slow_effect", FREEZE_SLOW_DURATION)
p.rpc("apply_slow_effect", 0.5)
NotificationManager.send_message(p, "Caught in Freeze Zone!", NotificationManager.MessageType.WARNING)
if p != player: # Don't score for freezing self (unless desired?) - Assuming enemies
hit_count += 1