Attack roll in powers tab not working #29

Closed
opened 2023-08-30 20:06:16 +02:00 by techogre · 1 comment

When you click on attack power in the Powers tab, there is no result in the chat. You get the following error in the consol:

hero6-utility.js:377 Uncaught (in promise) TypeError: undefined. Cannot read properties of undefined (reading '0')
[Detected 1 package: system:fvtt-hero-system-6]
at Hero6Utility.rollHero6 (hero6-utility.js:377:21)
at Hero6RollDialog.roll (hero6-roll-dialog.js:42:18)
at Hero6RollDialog.callback (hero6-roll-dialog.js:23:34)
at Hero6RollDialog.submit (foundry.js:65037:46)
at Hero6RollDialog._onClickButton (foundry.js:64965:10)
at HTMLButtonElement.dispatch (jquery.min.js:2:43184)
at y.handle (jquery.min.js:2:41168)

To recreate:

  1. Create new character.
  2. Drag the Blast power to the character.
  3. Set the damage of the Blast power to 10d6.
  4. Click the roll button for Blast.
    image
  5. Click the Roll button in the popup.
When you click on attack power in the Powers tab, there is no result in the chat. You get the following error in the consol: hero6-utility.js:377 Uncaught (in promise) TypeError: undefined. Cannot read properties of undefined (reading '0') [Detected 1 package: system:fvtt-hero-system-6] at Hero6Utility.rollHero6 (hero6-utility.js:377:21) at Hero6RollDialog.roll (hero6-roll-dialog.js:42:18) at Hero6RollDialog.callback (hero6-roll-dialog.js:23:34) at Hero6RollDialog.submit (foundry.js:65037:46) at Hero6RollDialog._onClickButton (foundry.js:64965:10) at HTMLButtonElement.dispatch (jquery.min.js:2:43184) at y.handle (jquery.min.js:2:41168)  To recreate: 1. Create new character. 2. Drag the Blast power to the character. 3. Set the damage of the Blast power to 10d6. 4. Click the roll button for Blast. ![image](/attachments/d2aefb33-8e15-4c07-bd8a-5d35a260fd9d) 5. Click the Roll button in the popup.
uberwald referenced this issue from a commit 2023-08-30 20:19:19 +02:00
Owner

Fix, release 10.0.21 ready

Fix, release 10.0.21 ready
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: public/fvtt-hero-system-6#29
No description provided.