Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roll for Initiative fails in Foundry v10 #1232

Closed
Aelphais opened this issue Sep 7, 2022 · 1 comment
Closed

Roll for Initiative fails in Foundry v10 #1232

Aelphais opened this issue Sep 7, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Aelphais
Copy link

Aelphais commented Sep 7, 2022

The roll for initiative buttons fail to operate under standard CoC7 rule set (By which I mean dex==initiative. I have not tried the optional rule for actually rolling initiative).

Prerequisites.

  • [ X ] Are you running the latest version of both Foundry VTT and Call of Cthulhu 7th Edition?
  • [ X ] Have you tested whether the bug persists without any other modules activated or on Foundry Launch in Safe Configuration?

Description.

Clicking Roll All and Roll NPCs simply causes the two buttons to disappear with no other alterations to the encounter table. Clicking the large dice icon next to the actors fails to do anything at all. However, clicking the Reset Initiative button seems to make it function as normal.

Expected Behavior.

Numbers should appear.

Actual Behavior.

Nothing happens.

Error Log

combat.js:134
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'id')
    at Combat.rollInitiative (combat.js:134:1)
    at Combat.rollAll (foundry.js:18551:17)
    at CombatTracker._onCombatControl (foundry.js:74043:36)
    at HTMLAnchorElement.<anonymous> (foundry.js:73980:51)
    at HTMLAnchorElement.dispatch (jquery.min.js:2:43064)
    at y.handle (jquery.min.js:2:41048)

combat.js:134 
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'id')
    at Combat.rollInitiative (combat.js:134:1)
    at Combat.rollNPC (foundry.js:18565:17)
    at CombatTracker._onCombatControl (foundry.js:74043:36)
    at HTMLAnchorElement.<anonymous> (foundry.js:73980:51)
    at HTMLAnchorElement.dispatch (jquery.min.js:2:43064)
    at y.handle (jquery.min.js:2:41048)

combat.js:134 
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'id')
    at Combat.rollInitiative (combat.js:134:1)
    at CombatTracker._onCombatantControl (foundry.js:74075:23)
    at HTMLAnchorElement.<anonymous> (foundry.js:73983:54)
    at HTMLAnchorElement.dispatch (jquery.min.js:2:43064)
    at y.handle (jquery.min.js:2:41048)

combat.js:134
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'id')
    at Combat.rollInitiative (combat.js:134:1)
    at CombatTracker._onCombatantControl (foundry.js:74075:23)
    at HTMLAnchorElement.<anonymous> (foundry.js:73983:54)
    at HTMLAnchorElement.dispatch (jquery.min.js:2:43064)
    at y.handle (jquery.min.js:2:41048)
@Aelphais Aelphais added the bug Something isn't working label Sep 7, 2022
@snap01
Copy link
Collaborator

snap01 commented Sep 15, 2022

A fix for this should be included in the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants