WFRP4e-FoundryVTT icon indicating copy to clipboard operation
WFRP4e-FoundryVTT copied to clipboard

[WFRP4e System] Player applying damage throws an error

Open moo-man opened this issue 3 years ago • 0 comments

When a player attempts to apply damage to their actor (from an opposed test), the damage applies, but the damage card does not update to show the damage taken. This error appears in the console.

Uncaught ReferenceError: msgId is not defined at OpposedWFRP.updateOpposedMessage (wfrp4e.js:3609:84) at Object.callback (wfrp4e.js:19604:25) at #onClickItem (foundry.js:55518:11) at HTMLElement.dispatch (jquery.min.js:2:43064) at y.handle (jquery.min.js:2:41048)

This only happens to players, not GMs.

To reproduce: Be a player. Lose an opposed test where they would take damage. Attempt to apply damage.
From: The First#7330
foundry: 10.285
wfrp4e: 6.1.4
wfrp4e-archives1: 2.4.1
wfrp4e-core: 3.0.1
wfrp4e-dotr: 2.3.4
wfrp4e-eis: 2.3.4
wfrp4e-pbtt: 2.2.3
wfrp4e-rnhd: 2.4.2
wfrp4e-starter-set: 2.3.4
wfrp4e-ua1: 2.3.2
Active Modules: about-face, colorsettings, compendium-folders, dd-import, easy-target, fast-flip, foundryvtt-simple-calendar, lib-wrapper, mcc, popout, quick-insert, remote-highlight-ui, settings-extender, smalltime, socketlib, token-action-hud, forge-vtt, forge-vtt-optional

moo-man avatar Oct 09 '22 14:10 moo-man