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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user