Skip to content

[Hero Roller] Improves compatibility with HeroSystem6Heroic. Better Dark Mode contrast. #2004

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

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

Villain1nGlasses
Copy link
Contributor

Version 1.3.0

This version improves support for HeroSystem6eHeroic, which has different attribute names than HeroSystem6e.

• Hero Roller now detects if a character is using HeroSystem6eHeroic via the sheet's attribute sheet_name. If found, Hero Roller will translate HS6e attribute names into the S6eHeroic equivalents. Otherwise, Hero Roller proceeds as per version 1.2.1.
• Hero Roller now also translates target hit location selections obtained from HS6e Heroic.
• Updated JSON with version number, sheet compatibility, and authors.

Other fixes:
• Defined font colors in chat messages to improve appearance in Dark Mode.

In the future, when the experimental attribute sheetName becomes official, Hero Roller can be updated with better support for the 5th edition sheet using the same method.

@Villain1nGlasses Villain1nGlasses marked this pull request as ready for review January 15, 2025 00:21
@Villain1nGlasses Villain1nGlasses marked this pull request as draft January 15, 2025 01:45
@NBrooks-Roll20
Copy link
Contributor

Hey @Villain1nGlasses! Is this intentionally in draft state because you're still working on it?

@Villain1nGlasses
Copy link
Contributor Author

I was waiting until I got the go-ahead from the original author of the script. He just got back to me and it looks like he'll want to merge my changes into his working branch first before we go ahead with this update. It looks like we may close this PR, but I'm waiting for his input.

@Villain1nGlasses
Copy link
Contributor Author

Ok, looks like he's fine with me going ahead with the PR.

@Villain1nGlasses Villain1nGlasses marked this pull request as ready for review January 16, 2025 20:02
@Alicekb Alicekb merged commit 5705097 into Roll20:master Jan 21, 2025
1 check passed
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.

3 participants