mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-28 17:17:58 +00:00
add eq for zoom, chagne meta give more bonus large players, don't throw exception when attack self
This commit is contained in:
@@ -69,7 +69,9 @@ export class AttackExecution implements Execution {
|
||||
: mg.player(this._targetID);
|
||||
|
||||
if (this._owner == this.target) {
|
||||
throw new Error(`Player ${this._owner} cannot attack itself`);
|
||||
console.error(`Player ${this._owner} cannot attack itself`);
|
||||
this.active = false;
|
||||
return;
|
||||
}
|
||||
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user