|
|
Line 150: |
Line 150: |
| <div class="container" {{#ifexpr: {{{showPage2|0}}}=0|style="display:none;"}}> | | <div class="container" {{#ifexpr: {{{showPage2|0}}}=0|style="display:none;"}}> |
| <div class="column"> | | <div class="column"> |
| <div class="leftcolumn" {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}}>
| |
| {| class="rpgtable box"
| |
| ! colspan="4" |SPELLCAST. ABILITY
| |
| |- class="big"
| |
| | {{{SpellcastingAbility}}}
| |
| |}
| |
|
| |
| {| class="rpgtable box"
| |
| ! colspan="4" |SPELLCAST. MODIFIER
| |
| |- class="big"
| |
| | {{#ifexpr:{{{{{{SpellcastingAbility}}}}}}>11|+|}}{{#expr:floor(({{{{{{SpellcastingAbility}}}}}}-10)/2)}}
| |
| |}
| |
| </div>
| |
| <div class="rightcolumn" {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}}>
| |
| {| class="rpgtable box"
| |
| ! colspan="4" |SPELL SAVE DC
| |
| |- class="big"
| |
| | {{#expr: 8 + floor(({{{{{{SpellcastingAbility}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)}}
| |
| |}
| |
|
| |
| {| class="rpgtable box"
| |
| ! colspan="4" |SPELL ATTACK BONUS
| |
| |- class="big"
| |
| | +{{#expr: floor(({{{{{{SpellcastingAbility}}}}}}-10)/2) + 2+floor(({{{Level|0}}}-1)/4)}}
| |
| |}
| |
| </div>
| |
| <div style="clear:both;"></div>
| |
| <div {{#ifexpr: {{{Spellcaster|0}}}=0|style="display:none;"}} class="displaysection">
| |
| {|class="rpgtable spellslots"
| |
| ! colspan="6" | SPELL SLOTS
| |
| |-
| |
| | Lvl 1:
| |
| | {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 0 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 0 }}|PermanentCircles=0|Break=}}
| |
| | {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 3 }}=0| class="disabled"{{!}}}} Lvl 4:
| |
| | {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 3 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 3 }}|PermanentCircles=0|Break=}}
| |
| | {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 6 }}=0| class="disabled"{{!}}}} Lvl 7:
| |
| | {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 6 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 6 }}|PermanentCircles=0|Break=}}
| |
| |-
| |
| | {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 1 }}=0| class="disabled"{{!}}}} Lvl 2:
| |
| | {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 1 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 1 }}|PermanentCircles=0|Break=}}
| |
| | {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 4 }}=0| class="disabled"{{!}}}} Lvl 5:
| |
| | {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 4 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 4 }}|PermanentCircles=0|Break=}}
| |
| | {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 7 }}=0| class="disabled"{{!}}}} Lvl 8:
| |
| | {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 7 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 7 }}|PermanentCircles=0|Break=}}
| |
| |-
| |
| | {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 2 }}=0| class="disabled"{{!}}}} Lvl 3:
| |
| | {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 2 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 2 }}|PermanentCircles=0|Break=}}
| |
| | {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 5 }}=0| class="disabled"{{!}}}} Lvl 6:
| |
| | {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 5 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 5 }}|PermanentCircles=0|Break=}}
| |
| | {{#ifexpr: {{#af_get: {{{SpellSlots}}} | 8 }}=0| class="disabled"{{!}}}} Lvl 9:
| |
| | {{Template:Circles|Circles={{#af_get: {{{SpellSlots}}} | 8 }}|small=small|FilledCircles={{#af_get: {{{SpellSlotsUsed}}} | 8 }}|PermanentCircles=0|Break=}}
| |
| |}
| |
| </div>
| |
|
| |
| <!-- Display all spells/sections for the LEFT column --> | | <!-- Display all spells/sections for the LEFT column --> |
| {{#if:{{{GenericSectionsPage2|}}}| | | {{#if:{{{GenericSectionsPage2|}}}| |