RedReign / FoundryVTT-BetterRolls5e

A module for modifying certain sheet functions on Foundry VTT Character sheets for D&D 5th Edition.
GNU General Public License v3.0
36 stars 67 forks source link

Fixes imports for v10 and changes overrides #393

Open isjxn opened 2 years ago

shecrio commented 2 years ago

breaks skill checks, trying throws this error

commons.js:1704 Uncaught (in promise) TypeError: key.split is not a function or its return value is not iterable [Detected 1 package: betterrolls5e] at Object.getProperty (commons.js:1704) at Localization.localize (foundry.js:6746) at i18n (utils.js:18) at Actor5e.actorRollSkill (index.js:157) getProperty @ commons.js:1704 localize @ foundry.js:6746 i18n @ utils.js:18 actorRollSkill @ index.js:157 Promise.then (async) 🎁call_wrapper @ libWrapper-wrapper.js:630 🎁CONFIG.Actor.documentClass.prototype.rollSkill#0 @ libWrapper-wrapper.js:189 _onRollSkillCheck @ base-sheet.mjs:1138 dispatch @ jquery.min.js:2 y.handle @ jquery.min.js:2

shecrio commented 2 years ago

No spell casting either it looks like

logCompatibilityWarning @ commons.js:1256 custom-roll.js:1159 TypeError: Cannot read properties of undefined (reading 'create') at CustomItemRoll.configureSpell (modules/betterrolls5e/scripts/custom-roll.js:1150) at async CustomItemRoll.roll (modules/betterrolls5e/scripts/custom-roll.js:633) at async CustomItemRoll.toMessage (modules/betterrolls5e/scripts/custom-roll.js:824) at async Item5e.doItemUse (modules/midi-qol/src/module/itemhandling.js:493) configureSpell @ custom-roll.js:1159