It looks like you're new here. If you want to get involved, click one of these buttons!
Header: Gnome Stats prompt: Size {} 3 table: Stats set:StrBonus={!{$prompt1}*6} set:HPBonus={!{$prompt1}*6} set:Str={{$prompt1}D6+{$StrBonus}} set:Con=- set:Siz={$prompt1} set:Int={$prompt1} set:Pow={{$prompt1}D6} set:Dex={{$prompt1}D6} set:Cha=- set:DmgMod={!{$Str}*2} <TABLE WIDTH=35% BORDER=1><TR><TD><B>STR:</B> {$Str} </TD><TD><B>CON:</B> {$Con} </TD> & <TD><B>SIZ:</B> {$Siz}m³ </TD><TD><B>INT:</B> {$Int} </TD><TD><B>POW:</B> {$Pow} </TD> & <TD><B>DEX:</B> {$Dex} </TD><TD><B>CHA:</B> {$Cha} </TD></TR></TABLE>\n\n & <b>Hit Locations:</b> 1–20 <b>Body:</b>(AP: –) / (HP: {{$prompt1}D6+{$HPBonus}})\n & <b>Damage Modifer</b> - {$DmgMod} \n\n & <b>Damage Modifer</b> - [#DmgModDice] #{$DmgMod} endtable: Table: DmgModDice Type: Lookup roll:{!{$DmgMod}*1} #roll:{$DmgMod} 1–5:–1D8 6–10:–1D6 11–15:–1D4 16–20:–1D2 21–25:+0 26–30:+1D2 31–35:+1D4 36–40:+1D6 41–45:+1D8 46–50:+1D10 51–60:+1D12 61–70:+2D6 71–80:+2D8 81–90:+2D10 91–100:+2D12 Endtable:
Comments
[#{$DmgMod} DmgModDice]
That will return the item that matches {$DmgMod] in the DmgModDice table.
ie, [#42 DmgModDice] would return "+1d8"