add eq for zoom, chagne meta give more bonus large players, don't throw exception when attack self

This commit is contained in:
Evan
2025-02-15 14:31:18 -08:00
parent 484fecef27
commit d9f2b683d7
4 changed files with 24 additions and 6 deletions
+3 -1
View File
@@ -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 (