Template:CharacterSheet: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
No edit summary
Line 190: Line 190:
     | {{{Weapon3Dmg|}}}{{#ifexpr: {{{Weapon3DmgAddAbility|0}}}=0 and {{{Weapon3MagicItemBonus|0}}}=0| | +{{#expr: {{#ifexpr: {{{Weapon3DmgAddAbility|0}}}=1 | floor(({{{{{{Weapon3Ability}}}}}}-10)/2) | 0 }}+{{{Weapon3MagicItemBonus|0}}}}} }} {{{Weapon3DmgType|}}} {{{Weapon3MagicDmg|}}}
     | {{{Weapon3Dmg|}}}{{#ifexpr: {{{Weapon3DmgAddAbility|0}}}=0 and {{{Weapon3MagicItemBonus|0}}}=0| | +{{#expr: {{#ifexpr: {{{Weapon3DmgAddAbility|0}}}=1 | floor(({{{{{{Weapon3Ability}}}}}}-10)/2) | 0 }}+{{{Weapon3MagicItemBonus|0}}}}} }} {{{Weapon3DmgType|}}} {{{Weapon3MagicDmg|}}}
     {{#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" |
{{#if:{{{Weapon4|}}} |
| {{{Weapon4|&nbsp;}}}
     {{!}}- class="weapon" {{!}}
| {{#if:{{{Weapon4AttackOrDC|}}}|{{#ifeq: {{{Weapon4AttackOrDC}}} | DC | 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}}}}} }}
{{!}} {{{Weapon4|&nbsp;}}}
{{!}} {{#if:{{{Weapon4AttackOrDC|}}}|{{#ifeq: {{{Weapon4AttackOrDC}}} | DC | 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}}}}} }}
}}
}}
     | {{{Weapon4Dmg|}}}{{#ifexpr: {{{Weapon4DmgAddAbility|0}}}=0 and {{{Weapon4MagicItemBonus|0}}}=0| | +{{#expr: {{#ifexpr: {{{Weapon4DmgAddAbility|0}}}=1 | floor(({{{{{{Weapon4Ability}}}}}}-10)/2) | 0 }}+{{{Weapon4MagicItemBonus|0}}}}} }}  {{{Weapon4DmgType|}}}{{{Weapon4MagicDmg|}}}
     {{!}} {{{Weapon4Dmg|}}}{{#ifexpr: {{{Weapon4DmgAddAbility|0}}}=0 and {{{Weapon4MagicItemBonus|0}}}=0| | +{{#expr: {{#ifexpr: {{{Weapon4DmgAddAbility|0}}}=1 | floor(({{{{{{Weapon4Ability}}}}}}-10)/2) | 0 }}+{{{Weapon4MagicItemBonus|0}}}}} }}  {{{Weapon4DmgType|}}}{{{Weapon4MagicDmg|}}}
{{#ifeq: {{{Weapon4Notes}}} | | | <tr class="notes"><td class="special" colspan="3">{{{Weapon4Notes|&nbsp;}}}</td></tr>}}
{{#ifeq: {{{Weapon4Notes}}} | | | <tr class="notes"><td class="special" colspan="3">{{{Weapon4Notes|&nbsp;}}}</td></tr>}}
|}}
|}
|}
</div>
</div>

Revision as of 08:27, 4 November 2024