Fix Power Up Inventory

feat: Add player input handling for movement, actions, and skill targeting, and implement special tile effect management.
This commit is contained in:
Yogi Wiguna
2026-02-04 14:53:03 +08:00
parent 77b8542896
commit 4b39a4cfcb
3 changed files with 59 additions and 20 deletions
+4 -2
View File
@@ -1139,8 +1139,10 @@ func start_movement_along_path(path: Array, clear_visual: bool = true):
has_moved_this_turn = path.size() <= movement_range
if main:
if not (is_bot or is_in_group("Bots")):
if not (is_bot or is_in_group("Bots")):
# Only reset to NONE if we were in MOVING state (voluntary movement).
# If we were TARGETING/GRABBING and got pushed, preserve that state.
if main.ui_manager.current_action_state == main.ui_manager.ActionState.MOVING:
main.ui_manager.current_action_state = main.ui_manager.ActionState.NONE
if TurnManager.turn_based_mode: