Combat panel, mouse movement still passes through

This commit is contained in:
gamer147
2026-04-02 11:34:17 -04:00
parent 528cb50e58
commit 86c29569d4
9 changed files with 744 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ func create_proposal(attacker: Unit, defender: Unit) -> CombatProposal:
func _snapshot(unit: Unit, opponent: Unit) -> CombatProposal.CombatantStats:
var stats := CombatProposal.CombatantStats.new()
stats.unit = unit
stats.max_hp = unit.current_stats.max_hp
stats.hp = unit.current_stats.current_hp
stats.sp = unit.current_stats.current_sp
stats.hit = unit.current_stats.hit - opponent.current_stats.eva