Рет қаралды 984
This video shows how to set up the luck mechanic from Tales of the Valiant on the D&D 5e character sheet. Note that a pro account is required in order to do this.
💥My Patreon: / nickolivo
🎲My Upcoming Games: www.startplaying.games/gm/nic...
📗My Books: us.amazon.com/stores/Nicholas...
Get 5% off VoiceMod voice changer (link.xsolla.com/vhF53pwM) with code NICKOLIVO5
You can get a free preview of the Tales of the Valiant system here - koboldpress.com/kpstore/produ...
ScriptCards documentation - wiki.roll20.net/Script:Script...
ScriptCards forum - app.roll20.net/forum/post/111...
The code shown in the video:
!script {{
--#whisper|self,gm
--#title|Luck Adjustment
--?@{selected|other_resource} -eq 5 |[
--=LuckAmount|1d4
--+|[c]Your luck has been reset to [$LuckAmount][/c]
--]|[
--=LuckAmount|@{selected|other_resource} + 1
--+|[c]Your luck has increased by 1[/c]
--+|[c]Your current luck total is [$LuckAmount][/c]
--]|
--?[$LuckAmount] -eq 5 |[
--+|[c][hr][b]You currently have the [#red]maximum[/#] number of luck points.[br]Spend them before you lose them![/b][/c]
--]|
--@setattr|_charid @{selected|character_id} _other_resource|[$LuckAmount] _silent
}}