Fix: Actor Targetting Vehicle - Dice Pools do not work on actors #89

Closed
opened 2022-10-04 14:43:54 +02:00 by GMDOnline · 2 comments
Collaborator

Actors that Target a Vehicle Token in a scene cannot open dice pools while Vehicle is targetted. But can when the vehicle is not targetted

Actors that Target a Vehicle Token in a scene cannot open dice pools while Vehicle is targetted. But can when the vehicle is not targetted
Owner

This is working on my side : provide details with actor type, dice pool opened, etc.
Provide also : vehicles details and console output (F12) with latest 30 lines

This is working on my side : provide details with actor type, dice pool opened, etc. Provide also : vehicles details and console output (F12) with latest 30 lines
Author
Collaborator

Still not working this side.

I put the vehicle into the scene
I target the Token
It does not matter what actor I open I cannot use a dice pool from any of them.

Uncaught TypeError: Cannot read properties of undefined (reading 'sizenum')
    at PegasusUtility.updateWithTarget (pegasus-utility.js:1029:67)
    at PegasusUtility.getBasicRollData (pegasus-utility.js:1018:22)
    at PegasusActor.getCommonRollData (pegasus-actor.js:1800:35)
    at PegasusActor.rollStat (pegasus-actor.js:1983:27)
    at HTMLAnchorElement.<anonymous> (pegasus-actor-sheet.js:263:18)
    at HTMLAnchorElement.dispatch (jquery.min.js:2:43064)
    at y.handle (jquery.min.js:2:41048)
Still not working this side. I put the vehicle into the scene I target the Token It does not matter what actor I open I cannot use a dice pool from any of them. ``` Uncaught TypeError: Cannot read properties of undefined (reading 'sizenum') at PegasusUtility.updateWithTarget (pegasus-utility.js:1029:67) at PegasusUtility.getBasicRollData (pegasus-utility.js:1018:22) at PegasusActor.getCommonRollData (pegasus-actor.js:1800:35) at PegasusActor.rollStat (pegasus-actor.js:1983:27) at HTMLAnchorElement.<anonymous> (pegasus-actor-sheet.js:263:18) at HTMLAnchorElement.dispatch (jquery.min.js:2:43064) at y.handle (jquery.min.js:2:41048) ```
Sign in to join this conversation.
No Label
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: uberwald/fvtt-pegasus-rpg#89
No description provided.