Drinking & Dragons

Difference between revisions of "Template:T20damage"

From Drinking and Dragons
m
m
Line 1: Line 1:
{{#vardefine:damagemisc|{{{damagemisc}}}}}{{#vardefine:damage|{{{damage}}}}}+ {{#expr:15+{{#var:str}}+{{#var:damage}}+{{#var:damagemisc}}}}
{{#vardefine:damagemisc|{{{damagemisc}}}}}{{#vardefine:damage|{{{damage}}}}}{{#expr:15+{{#var:str}}+{{#var:damage}}+{{#var:damagemisc}}}}
<noinclude>
<noinclude>
<pre>
<pre>

Revision as of 14:08, 4 January 2011

Expression error: Unrecognized punctuation character "{".

{{T20damage
|damage=0
|damagemisc=0
}}

This adds the character's strength plus 15 plus the value of "damagemisc".