modules/ageSystemItem.js
// Check if Item can cause damage
Check if Item can cause damage
Check if Item can cause damage
_hasDamage(type) {
        if (type === "weapon") {return true};
        if (type === "power" && this.data.data.causeDamage === true) {return true};
        return false;
    }
_hasDamage ( type ) { if ( type === "weapon" ) { return true } ; if ( type === "power" && this . data . data . causeDamage === true ) { return true } ; return false ; }
Check if Item can cause damage
Check if Item can cause damage
// if (!this.data.data.causeDamage) {return false};