espositos / fvtt-tokenactionhud

Creating a token action HUD module for Foundry VTT
31 stars 38 forks source link

Improvements to BR2SW handler #285

Closed zk-sn closed 3 years ago

zk-sn commented 3 years ago

_toggleStatus: get the data for the status effect from CONFIG.SWADE.statusEffects rather than hard-coding it. (This fixes an issue where the labels for Distracted and Vulnerable don't exactly match their status effect names)

_rollItem, _rollSkill, _rollAttribute: Add support for BR2SW's configurable roll behavior based on modifier keys. Now the HUD will generate cards and roll traits/damage based on user configured preferences in BR2SW as to what behavior happens with which modifier keys held down. (Default is nothing held down = show card, CTRL = show card & roll trait, SHIFT or ALT = default SWADE system action)