feat: complete playtest parity improvements

This commit is contained in:
goose
2026-10-08 19:06:19 -04:00
parent cce25a1908
commit eca098b4b9
139 changed files with 3001 additions and 982 deletions
+2
View File
@@ -16,6 +16,7 @@ func test_real_game_cast_opens_spell_targeting_and_resolves_imported_spell_befor
state.player.xp = 99
state.player.progression.set_total_xp(99)
enemy.xp_reward = 1
enemy.loot_table = &"floor1_reward"
var started_events := game.submit_test_cast()
var overlay := game.get_node("HUD/SpellTargetingOverlay") as SpellTargetingOverlay
@@ -32,6 +33,7 @@ func test_real_game_cast_opens_spell_targeting_and_resolves_imported_spell_befor
game.submit_test_spell_target(&"spell_epines_empoisonnees", &"goblin")
assert_false(state.enemies.has(&"goblin")) # Domain outcome is immediate; A3 feedback is asynchronous.
assert_true(state.floor_state.ground_items.has(enemy.cell))
assert_eq(state.player.focus, 10)
assert_eq(state.player.progression.level, 2)
assert_true(game.get_run_state().recent_events(10).any(func(event: GameEvent) -> bool: return event.kind == &"level_up"))