Combat panel, mouse movement still passes through
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user