This repository has been archived by the owner on Jan 21, 2023. It is now read-only.
Pure Chaos
Features
-
Wild Magic
- Complete refactor to support custom Wild Magic handlers.
- Wild Magic surge type has been moved from a global setting to a setting per Actor.
WildMagicAPI
class has been added asWildMagic
to the global scope for interfacing with the surge handler system.scripts/plugins/wild-magic-surge.js
has been added as both the implementation of prior handlers (normal, more, volatile) and as an example for implementing your own custom handlers.- Notable helper:
WildMagic.surge
. Can be used to run either a registered handler, or a custom function to force a surge roll. - Full API documentation can be found at: https://trioderegion.github.io/dnd5e-helpers/WildMagicAPI.html.
- KNOWN LIMITATIONS: Only a single surge handler can be predefined for a given actor. However, any surge handler can be invoked manually using the
WildMagic.surge
helper.
Fixes
-
Internal Update Queue Manager
- Better handling of errors produced by an update. Queue will now report an error and continue other queued updates. Previously would halt operation entirely.
-
Great Wounds
- #247 Corrected instance where sanitizeTokenName was called instead of sanitizeActorName resulting in a parsing error
-
Legendary and Lair Action
-
Action Management
- #258 Popping out the combat tracker via the Popout! module would cause the legendary and lair action prompts to appear in the popped out window if the turn was ended via the popped out combat tracker.
- #245 Combat Action HUD is now longer shown on Begin Combat if the display is suppressed or set to Hover.
- #263 Players will no longer attempt to clear the action flags on unowned tokens when combat is deleted or a combatant is removed from the tracker.
-
Undead Fortitude
- #260 Early exit if the update contains no HP changes. Also corrected undefined symbol max HP symbol
-
Cover Calculation
- #238 Walls will now respect any cover level overrides applied to them. Additionally, open doors are now considered 0 cover and limited visibility walls (i.e. terrain walls) have been given simple considerations -- a single limited vis wall is ignored as a collision, but if more than one is collected, all will use their provided cover values.
-
Wild Magic
- #249 Volatile wild magic surge would show an incorrect inline roll button expression and has been corrected.
Changes
-
Settings
- #254 Changed layout of settings giving them multiple sub menus. Various helpers got moved into subheaders as a result. Example: Undead Fortitude helpers can now be found in their own menu under NPC Feature Helpers while the Cover Calculator Configuration has been moved under System Helpers
-
Action Management
- #248 Increased granularity of action management settings. Main enable switch has been split between just enable and just display modes. Each client can now also select their preferred display modes (none, select, hover).
-
Cover Calculation
- #259 Broke down special trait to ignore half and full quarters to allow for more specificity. Users can now specify up to which level of cover their characters ignores cover. This allows for only ignoring half cover (such is the case with a wand of the warmage), ignoring half and three quarters cover, as well as even ignoring full cover. Backwards compatibility for cases where people used flags directly to specify what level of cover their character should ignore has been added.
-
Great Wounds
- #209 Damage thresholds can now be set for both a percentage of Max HP and/or a total amount of damage. When non-zero, the threshold is enabled and checked when the actor takes damage.
-
Lair/Legendary Action Helpers
- Each dialog type will now remember their last location.
- Dialogs will remain open after an ability has been rolled in the case of multiple lair/legendary actor actions occurring on the same turn change.
-
Cover calculation
- Added a client setting to allow whispering the cover report only to yourself instead of whispering to GM.
-
Undead Fortitude
- #271 Added a check box under special traits of the actor menu to give an actor the benefits of the Undead Fortitude feature even if they do not poessess the feature
Localization
-
Changes
- DND5EH.flagsNoCover
- DND5EH.flagsNoCoverHint
- option.wmOptions.standard
- option.wmOptions.more
- option.wmOptions.volatile
- DND5EH.WildMagicConsoleSurgesMessage
- setting.actionMgmtEnable.hint
- setting.legendaryActionRecharge.name
- setting.abilityRecharge.name
- setting.GreatWoundEnable.hint
- setting.GreatAndOpenWoundMaskNPC.name
-
Additions
- DND5EH.ConfigApp.title
- DND5EH.ConfigApp.return
- DND5EH.SubModule.DnDWildMagic.label
- DND5EH.SubModule.CoverCalculator.label
- DND5EH.SubModule.UndeadFortitude.label
- DND5EH.SubModule.GreatWounds.label
- DND5EH.SubModule.OpenWounds.label
- DND5EH.groupLabel.system
- DND5EH.groupLabel.npcFeatures
- DND5EH.groupLabel.pcFeatures
- DND5EH.groupLabel.combat
- DND5EH.groupLabel.misc
- DND5EH.flagsNoCover
- DND5EH.flagsNoCoverHint
- DND5EH.flagsNoCoverOptionNone
- DND5EH.flagsNoCoverOptionHalf
- DND5EH.flagsNoCoverOptionThreeQ
- DND5EH.flagsNoCoverOptionFull
- setting.debugDrawing.name
- setting.debugDrawing.hint
- setting.whisperToSelf.name
- setting.whisperToSelf.hint
- setting.wmRollMode.name
- setting.wmRollMode.hint
- setting.actionMgmtDisplay.name
- setting.actionMgmtDisplay.hint
- DND5EH.flagsUndeadFortitude
- DND5EH.flagsUndeadFortitudeHint
- setting.GreatWoundTriggerPct.name
- setting.GreatWoundTriggerPct.hint
- setting.GreatWoundTriggerFlat.name
- setting.GreatWoundTriggerFlat.hint
-
Removals
- option.wmOptions.custom
-
4.0.0 Localization Updates