mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-06 13:56:47 +00:00
when attacking by boat, attack execution only starts from boat pixel
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user