Saving Throw


[h: Status = input(“Mod | 0 | Saving Throw Modifier”)]
[h: abort(Status)]
[h: Roll = 1d20]
[h: SaveThrow = Roll + Mod]

<table border=‘0’ cellpadding=‘1’ cellspacing=‘0’ width=“100%” bgcolor=‘#000033’>
<tr>
<td align=center valign=middle>
<font color=‘#FFFFFF’ size=4><b>Saving Throw</b></font>
</td>
</tr>
</table>

<table border=‘0’ cellpadding=‘1’ cellspacing=‘0’ width=‘100%’ bgcolor=‘#FFFF99’>
<font color=‘#330000’>
<tr>
<td valign=middle>
<font size=2> ( {Roll} + {Mod} ) </font>
</td>
<td align=right valign=middle>
<b><font size=5> {Roll+Mod} </font></b>
</td>
</tr>
</font>
</table>

<table border=‘0’ cellpadding=‘1’ cellspacing=‘0’ width=“100%” bgcolor=‘#000033’>
<tr>
<td align=center valign=middle>
<font color=‘#FFFFFF’ size=2>
{If(SaveThrow<10, “Save Unsuccessful.”,"")}
{If(SaveThrow>=10, “Save Successful.”,"")}
</font>
</td>
</tr>
</table>


Return to Sample MapTool Macros

Saving Throw

Nieda-Harsas Bureau of Tourism solarbiscuit