Template:CharacterSheet: Difference between revisions

From The Wild Beyond the Witchlight
No edit summary
No edit summary
Line 641: Line 641:
     | +{{#expr: floor(({{{{{{SpellcastingAbility}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)}}
     | +{{#expr: floor(({{{{{{SpellcastingAbility}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)}}
     |}
     |}
</div>
<div>
{|class="rpgtable spellcasting ability"
! colspan="4" | SPELLCASTING
|-
| Spellcasting Ability
| {{{SpellcastingAbility}}}
|-
    | Spellcasting Modifier
    | {{#ifexpr:{{{{{{SpellcastingAbility}}}}}}>11|+|}}{{#expr:floor(({{{{{{SpellcastingAbility}}}}}}-10)/2)}}
|-
    | Spell Save DC
    | {{#expr: 8 + floor(({{{{{{SpellcastingAbility}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)}}
|-
    | Spell Attack Bonus
    | +{{#expr: floor(({{{{{{SpellcastingAbility}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)}}
|}
</div>
</div>



Revision as of 14:45, 22 October 2024