Use foundry vtt provided rollmode labels

This commit is contained in:
Johannes Loher 2021-03-17 19:23:57 +01:00
parent 90c2b7843c
commit 0d864b67c1
5 changed files with 6 additions and 24 deletions

View file

@ -116,7 +116,7 @@ async function askGmModifier(
maxCritSuccess: options.maxCritSuccess ?? defaultCheckOptions.maxCritSuccess,
minCritFailure: options.minCritFailure ?? defaultCheckOptions.minCritFailure,
rollMode: options.rollMode,
config: DS4,
rollModes: CONFIG.Dice.rollModes,
};
const renderedHtml = await renderTemplate(usedTemplate, templateData);
@ -195,7 +195,7 @@ interface GmModifierData {
* - checkTargetValue
*
* They will and should be removed once effects and data retrieval is in place.
* If a "raw" roll dialog is necessary, create another pre-porcessing Dialog
* If a "raw" roll dialog is necessary, create another pre-processing Dialog
* class asking for the required information.
* This interface should then be replaced with the `GmModifierData`.
*/
@ -210,7 +210,7 @@ interface IntermediateGmModifierData extends GmModifierData {
}
/**
* The minimum behavioural options that need to be passed to the factory.
* The minimum behavioral options that need to be passed to the factory.
*/
export interface DS4CheckFactoryOptions {
maxCritSuccess: number;