Template:CharacterSheet: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
No edit summary
Line 171: Line 171:
</div>
</div>
<!-- WEAPONS-->
<!-- WEAPONS-->
<div class="weapons">
<div class="weapons" style="clear:both">
{| class="rpgtable""
{| class="rpgtable""
! WEAPONS/CANTRIPS
! WEAPONS/CANTRIPS
Line 193: Line 193:
     |- class="weapon" |
     |- class="weapon" |
| {{{Weapon4|&nbsp;}}}
| {{{Weapon4|&nbsp;}}}
{{#if:{{{Weapon4AttackOrDC|}}}|
| {{#if:{{{Weapon4AttackOrDC|}}}|
{{#ifeq: {{{Weapon4AttackOrDC}}} | DC | {{#expr: 8 + floor(({{{{{{Weapon4Ability}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)+{{{Weapon4MagicItemBonus}}}}} | +{{#expr:floor(floor(({{{{{{Weapon4Ability}}}}}}-10)/2) + (2+floor(({{{Level|0}}}-1)/4)))+{{{Weapon4MagicItemBonus|0}}}}} }}
{{#ifeq: {{{Weapon4AttackOrDC}}} | DC | {{#expr: 8 + floor(({{{{{{Weapon4Ability}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)+{{{Weapon4MagicItemBonus}}}}} | +{{#expr:floor(floor(({{{{{{Weapon4Ability}}}}}}-10)/2) + (2+floor(({{{Level|0}}}-1)/4)))+{{{Weapon4MagicItemBonus|0}}}}} }}
}}
}}

Revision as of 11:33, 26 October 2024