Skip to content

HealthColors v2.1#2215

Open
steverobertsuk wants to merge 9 commits intoRoll20:masterfrom
steverobertsuk:sr/health-colors-v2_1
Open

HealthColors v2.1#2215
steverobertsuk wants to merge 9 commits intoRoll20:masterfrom
steverobertsuk:sr/health-colors-v2_1

Conversation

@steverobertsuk
Copy link
Copy Markdown
Contributor

Added

  • Added a palette system for health colors with default and colorblind options.
  • Added !aura palette ?{Palette|default|colorblind} command and matching menu control (palette switching forces existing tokens to refresh immediately).

Changed

  • Switched health color mapping from a fixed red/green calculation to palette-based low/mid/high interpolation.
  • Added an explicit dead color stop to each palette and mapped exactly 0% HP to black (#000000).
  • Updated default AuraSize from 0.7 to 0.35 and aligned docs/menu wording to describe radius in feet from token edge.
  • Updated menu/settings output to include the active palette.

Fixed

  • Fixed dead-state visuals at 0 HP so dead color behavior remains consistent.
  • Fixed missed updates when tokens are resized by treating width/height changes as a visual refresh trigger.

@steverobertsuk steverobertsuk changed the title HealthColors v2 1 HealthColors v2.1 May 1, 2026
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.

1 participant