Template:CharacterSheet: Difference between revisions
From The Wild Beyond the Witchlight
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
(33 intermediate revisions by the same user not shown) | |||
Line 165: | Line 165: | ||
|- | |- | ||
| {{#if:{{{HitDie|}}}|d{{{HitDie|}}}:|d{{{HitDie1|}}}:<br>d{{{HitDie2|}}}:}} | | {{#if:{{{HitDie|}}}|d{{{HitDie|}}}:|d{{{HitDie1|}}}:<br>d{{{HitDie2|}}}:}} | ||
| colspan="3" | {{#if:{{{HitDie|}}}|{{Template:Circles|Circles={{{Level|0}}}|FilledCircles={{{HitDiceSpend|0}}} | | colspan="3" | {{#if:{{{HitDie|}}}|{{Template:Circles|Circles={{{Level|0}}}|FilledCircles={{{HitDiceSpend|0}}}|PermanentCircles=0|Break= }}|{{Template:Circles|Circles={{{HitDieCount1|0}}}|FilledCircles={{{HitDiceSpend1|0}}}|PermanentCircles=0|Break= }}<br>{{Template:Circles|Circles={{{HitDieCount2|0}}}|FilledCircles={{{HitDiceSpend2|0}}}|PermanentCircles=0|Break= }}}} | ||
|} | |} | ||
<div class="leftcolumn"> | <div class="leftcolumn"> | ||
Line 204: | Line 204: | ||
{{!}} {{#if:{{{Weapon3AttackOrDC|}}}|{{#ifeq: {{{Weapon3AttackOrDC}}} | DC | 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|0}}}}} }} }} | {{!}} {{#if:{{{Weapon3AttackOrDC|}}}|{{#ifeq: {{{Weapon3AttackOrDC}}} | DC | 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|0}}}}} }} }} | ||
{{!}} {{{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| }}}</td></tr> | |}}{{#ifeq: {{{Weapon3Notes}}} | | | <tr class="notes"><td class="special" colspan="3">{{{Weapon3Notes| }}}</td></tr>}} | ||
{{#if:{{{Weapon4|}}} | | {{#if:{{{Weapon4|}}} | | ||
{{!}}- class="weapon" {{!}} | {{!}}- class="weapon" {{!}} | ||
Line 211: | Line 210: | ||
{{!}} {{#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}}}}} }}}} | {{!}} {{#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| }}}</td></tr>}} | |}}{{#ifeq: {{{Weapon4Notes}}} | | |<tr class="notes"><td class="special" colspan="3">{{{Weapon4Notes| }}}</td></tr>}} | ||
|} | |}</div> | ||
</div> | |||
{{#if:{{{GenericSections|}}}| | {{#if:{{{GenericSections|}}}| |
Latest revision as of 09:07, 7 January 2025