Ajout macro roll

This commit is contained in:
2024-01-02 23:34:38 +01:00
parent 5c4c6d73ee
commit c7c26c0033
147 changed files with 437 additions and 345 deletions

View File

@ -65,7 +65,6 @@ export class BoLRoll {
adv: "0",
mod: 0,
modRanged: 0,
aptValue: 0,
bolEffects: actor.boleffects,
horoscopeGroupList: this.buildHoroscopeGroupList()
}
@ -78,7 +77,7 @@ export class BoLRoll {
}
/* -------------------------------------------- */
static attributeCheck(actor, key, event, combatData) {
static attributeCheck(actor, key="vigor", event=undefined, combatData=undefined) {
let attribute = eval(`actor.system.attributes.${key}`)
@ -91,7 +90,7 @@ export class BoLRoll {
}
/* -------------------------------------------- */
static aptitudeCheck(actor, key, event, combatData) {
static aptitudeCheck(actor, key="init", event=undefined, combatData=undefined) {
let aptitude = eval(`actor.system.aptitudes.${key}`)
let attrKey = this.getDefaultAttribute(key)