Skip to content

[Dicey Tales] Bug fixes and enhancements : Fix rolls issues and optimize picture loading with webp images - #15357

Open
LeRatierBretonnien wants to merge 5 commits into
Roll20:masterfrom
LeRatierBretonnien:master
Open

[Dicey Tales] Bug fixes and enhancements : Fix rolls issues and optimize picture loading with webp images#15357
LeRatierBretonnien wants to merge 5 commits into
Roll20:masterfrom
LeRatierBretonnien:master

Conversation

@LeRatierBretonnien

Copy link
Copy Markdown

Context

The current updates has been requested by Jeff fMeija from Dicey Tales Production as the current Dicey Tales sheet are buggy.

Summary of changes

  • The roll code/parameters were wrong in the sheet, resulting in erroneous results in the chat. This has been fix and small features has been added.
  • The images used by the sheet were in PNG and not optimized. All images has been converted to WEBP. Previous PNG images are kept for reference, but may be deleted in a future release.

Remark

This is my firtst PR for Roll20, so let me know if I missed something or if something is wrong in my PR.

Thanks !

- Combat rolls now include the attribute (Agility by default, or the weapon's Melee - STR/Melee - AGI choice) and subtract the target's Defense.
- Weapon damage is dice + auto-computed Strength bonus (full for melee, half for hurled, none for ranged) with no stray prompts or zeros.
- Per-weapon Attack button rolls skill + attribute vs Defense.
- Creature damage uses a single die multiplied by the size multiplier, with no false Success/Failure verdicts.
- Blank attributes default to 0 via input value attributes (removes @{attr|default} that Roll20 misread as cross-character refs).
Convert all 30 PNGs to WebP (quality 90, same dimensions, RGBA preserved)
to prepare for a WebP migration. Reduces total image payload from ~23 MB
to ~3.1 MB. Originals kept.
Update all 52 image references in dicey_tales.html and dicey_tales.css
from .png?raw=true to .webp?raw=true, pointing at the already-committed
WEBP versions of the sheet graphics. Reduces image payload from ~23 MB
to ~3 MB. sheet.json preview stays on preview.png.
@LeRatierBretonnien
LeRatierBretonnien requested a review from a team as a code owner August 6, 2026 19:12
@roll20deploy

Copy link
Copy Markdown
Contributor

Character Sheet Info Roll20 Internal Use only.

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