From aaaf86e2d0ef36eebf9c9176923fc69ce7183aed Mon Sep 17 00:00:00 2001 From: Telain Date: Sat, 29 Apr 2023 15:24:22 -0500 Subject: [PATCH] Add support for FFD20 --- src/lmrtfy.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lmrtfy.js b/src/lmrtfy.js index 698d187..84abab7 100644 --- a/src/lmrtfy.js +++ b/src/lmrtfy.js @@ -232,16 +232,14 @@ class LMRTFY { case 'ffd20': LMRTFY.saveRollMethod = 'rollSavingThrow'; - LMRTFY.abilityRollMethod = 'rollAbility'; + LMRTFY.abilityRollMethod = 'rollAbilityTest'; LMRTFY.skillRollMethod = 'rollSkill'; LMRTFY.abilities = CONFIG.FFD20.abilities; LMRTFY.skills = CONFIG.FFD20.skills; LMRTFY.saves = CONFIG.FFD20.savingThrows; LMRTFY.normalRollEvent = { shiftKey: false, altKey: false, ctrlKey: false }; - LMRTFY.advantageRollEvent = { shiftKey: false, altKey: true, ctrlKey: false }; - LMRTFY.disadvantageRollEvent = { shiftKey: false, altKey: false, ctrlKey: true }; LMRTFY.specialRolls = { 'initiative': true, 'deathsave': false, 'perception': false }; - LMRTFY.abilityAbbreviations = CONFIG.FFD20.abilitiesShort; + LMRTFY.abilityAbbreviations = CONFIG.abilitiesShort; LMRTFY.modIdentifier = 'mod'; LMRTFY.abilityModifiers = LMRTFY.parseAbilityModifiers(); LMRTFY.canFailChecks = game.settings.get('lmrtfy', 'showFailButtons'); // defaulted to false due to system