Add critical/fumble tables

This commit is contained in:
2025-01-04 20:42:37 +01:00
parent aa179a92ff
commit 729b7882b8
43 changed files with 41448 additions and 765 deletions

View File

@ -97,4 +97,21 @@ export class RMFRPProcessTable {
}
});
}
getFumbleDef() {
let fumbles = []
for (let key in CONFIG.rmfrp.fumbles) {
fumbles.push({ key: key, name: RMFRPUtility.capitalizeFirstLetters(key.replace(/_/g, " ")) })
}
return fumbles
}
getCriticalDef() {
let criticals = []
for (let key in CONFIG.rmfrp.criticals) {
criticals.push({ key: key, name: RMFRPUtility.capitalizeFirstLetters(key.replace(/_/g, " ")) })
}
return criticals
}
}