fix: apply equipment modifiers to live combat actor
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user