PF2e persistent damage as condition tags #27

Closed
opened 2026-04-07 01:12:33 +02:00 by dostulata · 0 comments
Owner

Summary

Add persistent damage support for PF2e mode. Persistent damage is displayed as compact condition tags showing a damage type icon and formula (e.g., 🔥 2d6, 🩸 1d4). Each damage type can only appear once per combatant (higher value overrides lower, per PF2e rules). Adding persistent damage uses a picker with a fixed dropdown of common PF2e damage types and a formula text input.

Acceptance Criteria

  • In PF2e mode, the condition picker includes a "Persistent Damage" entry that opens a sub-picker with a damage type dropdown (fire, bleed, acid, cold, electricity, poison, mental, etc.) and a formula text input (e.g., "2d6")
  • Adding persistent damage shows a compact tag on the combatant row with a damage type icon and formula (e.g., 🔥 2d6)
  • Multiple persistent damage types can be active simultaneously (e.g., persistent fire and persistent bleed)
  • Only one instance per damage type is allowed; adding the same type replaces the existing formula
  • Clicking a persistent damage tag on the row removes it
  • Hovering a persistent damage tag shows a tooltip with the full description ("Persistent Fire 2d6: Take damage at end of turn. DC 15 flat check to end.")
  • Persistent damage tags are not available in D&D mode
  • Persistent damage entries survive page reload
## Summary Add persistent damage support for PF2e mode. Persistent damage is displayed as compact condition tags showing a damage type icon and formula (e.g., 🔥 2d6, 🩸 1d4). Each damage type can only appear once per combatant (higher value overrides lower, per PF2e rules). Adding persistent damage uses a picker with a fixed dropdown of common PF2e damage types and a formula text input. ## Acceptance Criteria - [x] In PF2e mode, the condition picker includes a "Persistent Damage" entry that opens a sub-picker with a damage type dropdown (fire, bleed, acid, cold, electricity, poison, mental, etc.) and a formula text input (e.g., "2d6") - [x] Adding persistent damage shows a compact tag on the combatant row with a damage type icon and formula (e.g., 🔥 2d6) - [x] Multiple persistent damage types can be active simultaneously (e.g., persistent fire and persistent bleed) - [x] Only one instance per damage type is allowed; adding the same type replaces the existing formula - [x] Clicking a persistent damage tag on the row removes it - [x] Hovering a persistent damage tag shows a tooltip with the full description ("Persistent Fire 2d6: Take damage at end of turn. DC 15 flat check to end.") - [x] Persistent damage tags are not available in D&D mode - [x] Persistent damage entries survive page reload
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dostulata/initiative#27