espositos / fvtt-tokenactionhud

Creating a token action HUD module for Foundry VTT
31 stars 38 forks source link

Incompatibility with "Midi OQL" Module in D&D5e #110

Closed capoeria closed 3 years ago

capoeria commented 3 years ago

when these two modules are active at the same time, the Token Action HUD cant roll skills. The other sections (TS, attacks, spells, etc) work perfectly.

WildBillLives commented 3 years ago

Can confirm this, using Foundry 0.7.7, DnD5E 1.1.1, and TokenActionHud 0.9.11 The error thrown in the console is this:

Uncaught (in promise) TypeError: Cannot read property 'altKey' of undefined
    at Actor5e.doRollSkill (patching.js:107)
    at RollHandlerBase5e.rollSkillMacro (dnd5e-base.js:77)
    at RollHandlerBase5e._handleMacros (dnd5e-base.js:37)
    at RollHandlerBase5e.doHandleActionEvent (dnd5e-base.js:27)
    at RollHandlerBase5e.handleActionEvent (rollHandler.js:47)
    at handleClick (tokenactionhud.js:86)
    at HTMLDivElement.<anonymous> (tokenactionhud.js:93)
    at HTMLDivElement.dispatch (jquery.min.js:2)
    at HTMLDivElement.v.handle (jquery.min.js:2)
doRollSkill @ patching.js:107
rollSkillMacro @ dnd5e-base.js:77
_handleMacros @ dnd5e-base.js:37
doHandleActionEvent @ dnd5e-base.js:27
handleActionEvent @ rollHandler.js:47
handleClick @ tokenactionhud.js:86
(anonymous) @ tokenactionhud.js:93
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
espositos commented 3 years ago

Hi, this is an issue with MidiQoL which should be resolved soon so I can't do anything about it. But if you still have the issue then enabling speed rolls in MidiQoL should resolve it. unknown