chore: dead code

This commit is contained in:
cha0s 2019-11-11 12:57:07 -06:00
parent 2d5cd2acfb
commit 9cce07e10e

View File

@ -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,