From Dark and Darker Wiki

m (Updated Spell Casting Speed Formulation)
m (Update Regular Interaction Speed Formulation)
Line 102: Line 102:
-->{{#vardefine:sum|{{#expr:{{#var:agility}}*0.4+{{#var:resourcefulness}}*0.6}}}}<!--
-->{{#vardefine:sum|{{#expr:{{#var:agility}}*0.4+{{#var:resourcefulness}}*0.6}}}}<!--
-->{{#vardefine:regular_interaction_speed|{{#switch:1
-->{{#vardefine:regular_interaction_speed|{{#switch:1
     |{{#expr:{{#var:sum}}<=5}}={{#expr:-55+5*{{#var:sum}}}}
     |{{#expr:{{#var:sum}}<=0}}=-26
     |{{#expr:{{#var:sum}}<=15}}={{#expr:-30+3*({{#var:sum}}-5)}}
    |{{#expr:{{#var:sum}}<=7}}={{#expr:-26+2*{{#var:sum}}}}
     |{{#expr:{{#var:sum}}<=25}}={{#expr:-0+7*({{#var:sum}}-15)}}
     |{{#expr:{{#var:sum}}<=15}}={{#expr:-12+1.5*({{#var:sum}}-7)}}
     |{{#expr:{{#var:sum}}<=35}}={{#expr:70+5*({{#var:sum}}-25)}}
     |{{#expr:{{#var:sum}}<=20}}={{#expr:0+7*({{#var:sum}}-15)}}
     |{{#expr:{{#var:sum}}<=25}}={{#expr:35+6*({{#var:sum}}-20)}}
    |{{#expr:{{#var:sum}}<=30}}={{#expr:65+5*({{#var:sum}}-25)}}
    |{{#expr:{{#var:sum}}<=35}}={{#expr:90+4*({{#var:sum}}-30)}}
    |{{#expr:{{#var:sum}}<=40}}={{#expr:110+3*({{#var:sum}}-35)}}
    |{{#expr:{{#var:sum}}<=45}}={{#expr:125+2*({{#var:sum}}-40)}}
    |{{#expr:{{#var:sum}}<=100}}={{#expr:135+1*({{#var:sum}}-45)}}
}}}}
}}}}
|[[Regular Interaction Speed]] || style="text-align:right; {{#ifexpr:{{#var:regular_interaction_speed}}<0|color:rgb(255,117,117);|{{#ifexpr:{{#var:regular_interaction_speed}}>0|color:rgb(132,176,5);}}}}" |{{#var:regular_interaction_speed}}%
|[[Regular Interaction Speed]] || style="text-align:right; {{#ifexpr:{{#var:regular_interaction_speed}}<0|color:rgb(255,117,117);|{{#ifexpr:{{#var:regular_interaction_speed}}>0|color:rgb(132,176,5);}}}}" |{{#var:regular_interaction_speed}}%

Revision as of 07:53, 19 June 2024

{{GenerateDetailsPage|Bard}}

Outputs the details page of the Bard class.