fix: apply equipment modifiers to live combat actor

This commit is contained in:
goose
2026-10-03 14:21:46 -04:00
parent e5ab923a67
commit ba6690b680
5 changed files with 119 additions and 3 deletions
+3 -1
View File
@@ -464,8 +464,10 @@ func _use_selected_inventory_item(target = null) -> void:
# Public hook for the future party selector: it applies the currently selected
# ally-target consumable without coupling this D3 slice to a party UI.
func submit_inventory_ally_target(target) -> void:
func submit_inventory_ally_target(target) -> Array[GameEvent]:
var event_count := run_state.log.size()
_use_selected_inventory_item(target)
return run_state.recent_events(run_state.log.size() - event_count)
func _drop_selected_inventory_item() -> void:
var item := inventory_panel.selected_item()