root/entities/entity.js
/* Call this after each round to remove expired status effects. */
Call this after each round to remove expired status effects.
Call this after each round to remove expired status effects .
decreaseStatusEffects () {
        for (let effect in this.statusEffects()) {
            effect.step();
            if (effect.isExpired()) {
                this.removeStatusEffect(effect);
            }
        }
    }
decreaseStatusEffects ( ) { for ( let effect in this . statusEffects ( ) ) { effect . step ( ) ; if ( effect . isExpired ( ) ) { this . removeStatusEffect ( effect ) ; } } }
Call this after each round to remove expired status effects.
Call this after each round to remove expired status effects .