chore: dead code
This commit is contained in:
parent
2d5cd2acfb
commit
9cce07e10e
|
@ -37,7 +37,6 @@ export class Vulnerable extends Trait {
|
||||||
|
|
||||||
constructor(entity, params, state) {
|
constructor(entity, params, state) {
|
||||||
super(entity, params, state);
|
super(entity, params, state);
|
||||||
this.damageId = 0;
|
|
||||||
this.damageTickingPromises = [];
|
this.damageTickingPromises = [];
|
||||||
this.damages = [];
|
this.damages = [];
|
||||||
this._isInvulnerable = false;
|
this._isInvulnerable = false;
|
||||||
|
@ -329,7 +328,6 @@ export class Vulnerable extends Trait {
|
||||||
}
|
}
|
||||||
amount = Math.abs(amount);
|
amount = Math.abs(amount);
|
||||||
const damage = {
|
const damage = {
|
||||||
id: this.damageId++,
|
|
||||||
isDamage,
|
isDamage,
|
||||||
amount,
|
amount,
|
||||||
damageSpec,
|
damageSpec,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user