Template:CharacterSheet: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
No edit summary
Line 189: Line 189:
| {{{Weapon3| }}}
| {{{Weapon3| }}}
| {{#ifeq: {{{Weapon3AttackOrDC}}} | DC | {{#expr: 8 + floor(({{{{{{Weapon3Ability}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)+{{{Weapon3MagicItemBonus}}}}} | +{{#expr:floor(floor(({{{{{{Weapon3Ability}}}}}}-10)/2) + (2+floor(({{{Level|0}}}-1)/4)))+{{{Weapon3MagicItemBonus}}}}} }}
| {{#ifeq: {{{Weapon3AttackOrDC}}} | DC | {{#expr: 8 + floor(({{{{{{Weapon3Ability}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)+{{{Weapon3MagicItemBonus}}}}} | +{{#expr:floor(floor(({{{{{{Weapon3Ability}}}}}}-10)/2) + (2+floor(({{{Level|0}}}-1)/4)))+{{{Weapon3MagicItemBonus}}}}} }}
     | {{{Weapon3Dmg|}}}+{{#expr:floor(  {{#ifeq: {{{Weapon3DmgAddAbility}}} | floor(({{{{{{Weapon3Ability}}}}}}-10)/2) | 0}})  +{{{Weapon3MagicItemBonus}}})}} {{{Weapon3DmgType|}}}
     | {{{Weapon3Dmg|}}}+{{#expr:floor(  {{#ifeq: {{{Weapon3DmgAddAbility}}}| 1 | floor(({{{{{{Weapon3Ability}}}}}}-10)/2) | 0}})  +{{{Weapon3MagicItemBonus}}})}} {{{Weapon3DmgType|}}}
     {{#ifeq: {{{Weapon3Notes}}} | | | <tr class="notes"><td class="special" colspan="3">{{{Weapon3Notes|&nbsp;}}}</td></tr>}}  
     {{#ifeq: {{{Weapon3Notes}}} | | | <tr class="notes"><td class="special" colspan="3">{{{Weapon3Notes|&nbsp;}}}</td></tr>}}  
     |- class="weapon" |
     |- class="weapon" |

Revision as of 10:57, 26 October 2024