Add event gold pickups

This commit is contained in:
2026-06-18 15:33:07 +09:00
parent 5a3e5e1b64
commit 2bde55d76b
9 changed files with 173 additions and 12 deletions

View File

@@ -278,7 +278,7 @@ func apply_battle_result(battle_state) -> Dictionary:
inventory = battle_state.get_inventory_snapshot()
completed_scenarios.append(battle_state.battle_id)
reward_gold = int(rewards.get("gold", 0))
reward_gold = int(rewards.get("gold", 0)) + int(battle_state.get_battle_gold_reward())
gold += reward_gold
for item_id in rewards.get("items", []):