From Dark and Darker Wiki

m (Updated ActionSpeed Formulation)
m (Updated Spell Casting Speed Formulation)
Line 82: Line 82:
|-<!--
|-<!--
-->{{#vardefine:spell_casting_speed|{{#switch:1
-->{{#vardefine:spell_casting_speed|{{#switch:1
     |{{#expr:{{#var:knowledge}}<=1}}=-93
     |{{#expr:{{#var:knowledge}}<=0}}=-60
     |{{#expr:{{#var:knowledge}}<=19}}={{#expr:-93+5*({{#var:knowledge}}-1)}}
     |{{#expr:{{#var:knowledge}}<=5}}={{#expr:-60+5*{{#var:knowledge}}}}
     |{{#expr:{{#var:knowledge}}<=30}}={{#expr:-3+3*({{#var:knowledge}}-19)}}
    |{{#expr:{{#var:knowledge}}<=10}}={{#expr:-35+4*({{#var:knowledge}}-5)}}
     |{{#expr:{{#var:knowledge}}<=40}}={{#expr:30+4*({{#var:knowledge}}-30)}}
     |{{#expr:{{#var:knowledge}}<=20}}={{#expr:-15+3*({{#var:knowledge}}-10)}}
    |{{#expr:{{#var:knowledge}}<=50}}={{#expr:15+2.5*({{#var:knowledge}}-20)}}
    |{{#expr:{{#var:knowledge}}<=80}}={{#expr:90+2*({{#var:knowledge}}-50)}}
     |{{#expr:{{#var:knowledge}}<=100}}={{#expr:150+1.5*({{#var:knowledge}}-80)}}
}}}}
}}}}
|[[Spell Casting Speed]] || style="text-align:right; {{#ifexpr:{{#var:spell_casting_speed}}<0|color:rgb(255,117,117);|{{#ifexpr:{{#var:spell_casting_speed}}>0|color:rgb(132,176,5);}}}}" |{{#var:spell_casting_speed}}%
|[[Spell Casting Speed]] || style="text-align:right; {{#ifexpr:{{#var:spell_casting_speed}}<0|color:rgb(255,117,117);|{{#ifexpr:{{#var:spell_casting_speed}}>0|color:rgb(132,176,5);}}}}" |{{#var:spell_casting_speed}}%

Revision as of 07:40, 19 June 2024

{{GenerateDetailsPage|Bard}}

Outputs the details page of the Bard class.