Use foundry vtt provided rollmode labels
This commit is contained in:
parent
90c2b7843c
commit
0d864b67c1
5 changed files with 6 additions and 24 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue