Player prog

This commit is contained in:
2026-01-11 20:22:15 -06:00
parent 7defac68c4
commit 8a599a054c
6 changed files with 32 additions and 10 deletions

View File

@@ -55,11 +55,5 @@ func startBattle(params) -> void:
if !battleCutscene.running:
battleCutscene.start()
# Wait 3 seconds then simulate damage for testing
var fighter = fighterMap[BattlePosition.RIGHT_TOP_FRONT]
while true:
await get_tree().create_timer(0.3).timeout
fighter.damage(10, false)
func getFighterAtPosition(battlePos:BattlePosition) -> BattleFighter:
return fighterMap.get(battlePos, null)