when attacking by boat, attack execution only starts from boat pixel

This commit is contained in:
evanpelle
2024-09-04 20:06:20 -07:00
parent 2082b229b4
commit a92bebce05
8 changed files with 22 additions and 10 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ export class BoatAttackExecution implements Execution {
return
}
this.attacker.conquer(this.dst)
this.mg.addExecution(new AttackExecution(this.troops, this.attacker.id(), this.targetID, null))
this.mg.addExecution(new AttackExecution(this.troops, this.attacker.id(), this.targetID, this.dst.cell(), null))
this.boat.delete()
this.active = false
return