Muttley / foundryvtt-shadowdark

Shadowdark game system for Foundry VTT
MIT License
39 stars 21 forks source link

Very minor usability improvement: Add rollable dice to Cure Wounds #908

Open nschoenwald opened 18 hours ago

nschoenwald commented 18 hours ago

The priest spell Cure Wounds currently does not have a clickable roll in its description. Ideally, it would have an automatic formula (unfortunately I don't know how to access the character's level). For now, I have changed it like this in my own game.

Your touch restores ebbing life. Roll a number of [[/r 1d6]] equal to 1 + half your level (rounded down). One target you touch regains that many hit points.

nschoenwald commented 17 hours ago

I think I figured the formula out:

Your touch restores ebbing life. Roll a number of d6s equal to [[/roll (1 + (floor(@level.value/2)))d6]]{1 + half your level (rounded down)}. One target you touch regains that many hit points.