root/entities/entity.js
/* Get the effective value for a particular stat. */
Get the effective value for a particular stat.
Get the effective value for a particular stat .
effectiveStat (stat) {
        let value = this[stat]();
        for (let effect in this._statusEffects) {
            value = effect[stat](value);
        }
        return value;
    }
effectiveStat ( stat ) { let value = this [ stat ] ( ) ; for ( let effect in this . _statusEffects ) { value = effect [ stat ] ( value ) ; } return value ; }
Get the effective value for a particular stat.
Get the effective value for a particular stat .