Add critical/fumble tables
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user