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

fix(initiative): fix initiative rolling for Foundry v10 #1137

Merged
merged 1 commit into from
Jan 2, 2023

Conversation

wrycu
Copy link
Collaborator

@wrycu wrycu commented Jan 1, 2023

  • update accessors to use v10 version
  • update to handle async roll.toMessage

#1135

* update accessors to use v10 version
* update to handle async `roll.toMessage`

#1135
@wrycu wrycu requested a review from Esrin January 1, 2023 19:45
// Get Combatant data
const c = initiative.getCombatantByToken(
initiative.data.combatants.map(combatant => combatant.data)
initiative.combatants.map(combatant => combatant)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This map isn't actually doing anything anymore so not necessary.

Not a blocker in our current fix-it-till-it-works maintenance world though. 😂

@Esrin Esrin merged commit bbec7b5 into foundry-10 Jan 2, 2023
@Esrin Esrin deleted the v10-combat branch January 2, 2023 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants