Skip to content

Commit

Permalink
Add support for FFD20
Browse files Browse the repository at this point in the history
  • Loading branch information
Telain authored Apr 29, 2023
1 parent 91a2d34 commit aaaf86e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/lmrtfy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aaaf86e

Please sign in to comment.