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)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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)
Targetting is not a function of the current release, tagged as enhancement.
But the error message will be remove meanwhile.
Retested. Fixed.