Template:CharacterSheet: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
No edit summary
Tag: Reverted
Line 169: Line 169:
| {{{Weapon1| }}}
| {{{Weapon1| }}}
| {{#if:{{{Weapon1AttackOrDC|}}}|{{#ifeq: {{{Weapon1AttackOrDC}}} | DC | DC: {{#expr: 8 + floor(({{{{{{Weapon1Ability}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)+{{{Weapon1MagicItemBonus}}}}} | +{{#expr:floor(floor(({{{{{{Weapon1Ability}}}}}}-10)/2) + (2+floor(({{{Level|0}}}-1)/4)))+{{{Weapon1MagicItemBonus|0}}}}} }} }}
| {{#if:{{{Weapon1AttackOrDC|}}}|{{#ifeq: {{{Weapon1AttackOrDC}}} | DC | DC: {{#expr: 8 + floor(({{{{{{Weapon1Ability}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)+{{{Weapon1MagicItemBonus}}}}} | +{{#expr:floor(floor(({{{{{{Weapon1Ability}}}}}}-10)/2) + (2+floor(({{{Level|0}}}-1)/4)))+{{{Weapon1MagicItemBonus|0}}}}} }} }}
     | {{{Weapon1Dmg|}}}{{#ifexpr: {{{Weapon1DmgAddAbility|0}}}=0 and {{{Weapon1MagicItemBonus|0}}}=0| | +{{#expr: {{#ifexpr: {{{Weapon1DmgAddAbility|0}}}=1 | floor(({{{{{{Weapon1Ability}}}}}}-10)/2) | 0 }}+{{{Weapon1MagicItemBonus|0}}}}} }} {{{Weapon1DmgType|}}} {{{Weapon1MagicDmg|}}}  
     | {{{Weapon1Dmg|}}}{{#ifexpr: {{{Weapon1DmgAddAbility|0}}}=0 and {{{Weapon1MagicItemBonus|0}}}=0| | +{{#expr: {{#ifexpr: {{{Weapon1DmgAddAbility|0}}}=1 | floor(({{{{{{Weapon1Ability}}}}}}-10)/2) | 0 }}+{{{Weapon1MagicItemBonus|0}}}}} }} <span class="smallfont">{{{Weapon1DmgType|}}}</span> {{{Weapon1MagicDmg|}}}  
     {{#ifeq: {{{Weapon1Notes}}} | | | <tr class="notes"><td class="special" colspan="3">{{{Weapon1Notes|&nbsp;}}}</td></tr>}}  
     {{#ifeq: {{{Weapon1Notes}}} | | | <tr class="notes"><td class="special" colspan="3">{{{Weapon1Notes|&nbsp;}}}</td></tr>}}  
|- class="weapon" |
|- class="weapon" |

Revision as of 16:10, 26 October 2024