taargetting prevents rolling a power #6

Closed
opened 2023-08-26 20:10:01 +02:00 by techogre · 2 comments

Foundry 11.308
HERO 11.0.16

When an actor targets another actor and clicks on the dice button for a strike nothing happens. If you check the console, you get the following error:

Uncaught TypeError: undefined. defender.isAttackerAdvantage is not a function
[Detected 1 package: system:fvtt-hero-system-6]
at Hero6Actor.getCommonRollData (hero6-actor.js:655:44)
at Hero6Actor.rollItem (hero6-actor.js:689:25)
at HTMLAnchorElement. (hero6-actor-sheet.js:187:18)
at HTMLAnchorElement.dispatch (jquery.min.js:2:43184)
at y.handle (jquery.min.js:2:41168)

Foundry 11.308 HERO 11.0.16 When an actor targets another actor and clicks on the dice button for a strike nothing happens. If you check the console, you get the following error: Uncaught TypeError: undefined. defender.isAttackerAdvantage is not a function [Detected 1 package: system:fvtt-hero-system-6] at Hero6Actor.getCommonRollData (hero6-actor.js:655:44) at Hero6Actor.rollItem (hero6-actor.js:689:25) at HTMLAnchorElement.<anonymous> (hero6-actor-sheet.js:187:18) at HTMLAnchorElement.dispatch (jquery.min.js:2:43184) at y.handle (jquery.min.js:2:41168)
Owner

Targetting is not a function of the current release, tagged as enhancement.
But the error message will be remove meanwhile.

Targetting is not a function of the current release, tagged as enhancement. But the error message will be remove meanwhile.
uberwald added the
enhancement
label 2023-08-26 20:46:14 +02:00
Author

Retested. Fixed.

Retested. Fixed.
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#6
No description provided.