Gauntlet cleanser stacking and UI fixes
This commit is contained in:
@@ -1054,7 +1054,6 @@ func apply_slow_effect(duration: float = 3.0):
|
||||
|
||||
print("Player %s is slowed for %.1f seconds" % [name, duration])
|
||||
|
||||
@rpc("any_peer", "call_local")
|
||||
@rpc("any_peer", "call_local")
|
||||
func remove_slow_effect():
|
||||
slow_timer = 0.0
|
||||
|
||||
@@ -1684,6 +1684,8 @@ func _try_use_cleanser() -> void:
|
||||
player_cleansers[local_pid] = max(0, player_cleansers[local_pid] - 1)
|
||||
update_cleanser_ui(player_cleansers[local_pid])
|
||||
|
||||
NotificationManager.send_message(local_player, "Cleanser Used! (5 charges)", NotificationManager.MessageType.POWERUP)
|
||||
|
||||
# Sync to server/clients
|
||||
if not multiplayer.is_server() and _can_rpc():
|
||||
rpc("rpc_activate_cleanser", local_pid)
|
||||
@@ -1691,8 +1693,6 @@ func _try_use_cleanser() -> void:
|
||||
# Call RPC logic directly for host (it will set active/cells_left/consume)
|
||||
rpc_activate_cleanser(local_pid)
|
||||
|
||||
NotificationManager.send_message(local_player, "Cleanser Active! (5 cells)", NotificationManager.MessageType.POWERUP)
|
||||
|
||||
@rpc("any_peer", "call_local", "reliable")
|
||||
func deactivate_cleanser(player_id: int) -> void:
|
||||
"""Deactivate cleanser immunity for a player."""
|
||||
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
cd /home/beng/Documents/github/talaria
|
||||
echo "- [x] Fix Gauntlet to prevent sticky bubble spawn on NPC central zone and boundary walls" >> tasks.md
|
||||
echo "- [x] Added instant visual feedback indicator for Gauntlet Cleanser using popup text when consumed" >> tasks.md
|
||||
echo "- [x] Pushed all local changes for v2.4.0 Gauntlet mode improvements to 'experimental' branch" >> tasks.md
|
||||
Reference in New Issue
Block a user