Skip to content

fix(HealthColors): v2.1.3 - Hardened setting validation - #2234

Merged
Alicekb merged 2 commits into
Roll20:masterfrom
steverobertsuk:sr/healthcolors-v2-1-3
Jun 4, 2026
Merged

Alicekb merged 2 commits into
Roll20:masterfrom
steverobertsuk:sr/healthcolors-v2-1-3

Conversation

@steverobertsuk

Copy link
Copy Markdown
Contributor

[2.1.3] – 2026-05-22 · Milestone

Fixed

  • Fixed HealthColors treating an empty or whitespace-only USEBLOOD value as a custom FX name. The script now trims and validates the attribute before FX lookup, so fetched/imported characters with a blank override fall back to the default hurt FX instead of whispering a missing custom FX warning.
  • Hardened !aura setting validation for the remaining editable values. Percentage thresholds now reject invalid input, heal/hurt colors require valid hex values, yes/no/off settings are normalized, and blank death sound names no longer overwrite the previous value.

- Fixed handling of empty or whitespace-only `USEBLOOD` values to default to hurt FX.
- Enhanced validation for `!aura` settings, including percentage thresholds and color formats.
- Added normalization functions for percentage, positive numbers, Yes/No/Off settings, and track names.
- Updated version number and changelog for release.
Signed-off-by: Steve Roberts <steve@shadowcomputers.co.uk>
@Alicekb
Alicekb merged commit 82e43af into Roll20:master Jun 4, 2026
1 check passed
@steverobertsuk
steverobertsuk deleted the sr/healthcolors-v2-1-3 branch July 3, 2026 17:31
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