From Dark and Darker Wiki

m (Removed template call example.)
No edit summary
Line 19: Line 19:
-->{{#vardefine:sum|{{#expr:{{#var:strength}}*0.25+{{#var:vigor}}*0.75}}}}<!--
-->{{#vardefine:sum|{{#expr:{{#var:strength}}*0.25+{{#var:vigor}}*0.75}}}}<!--
-->{{#vardefine:health|{{#switch:1
-->{{#vardefine:health|{{#switch:1
     |{{#expr:{{#var:sum}}<=10}}={{#expr:ceil(60+3*{{#var:sum}})}}
     |{{#expr:{{#var:sum}}<=10}}={{#expr:ceil(75+3*{{#var:sum}})}}
     |{{#expr:{{#var:sum}}<=50}}={{#expr:ceil(90+2*({{#var:sum}}-10))}}
     |{{#expr:{{#var:sum}}<=50}}={{#expr:ceil(105+2*({{#var:sum}}-10))}}
     |{{#expr:{{#var:sum}}<=75}}={{#expr:ceil(170+1*({{#var:sum}}-50))}}
     |{{#expr:{{#var:sum}}<=75}}={{#expr:ceil(185+1*({{#var:sum}}-50))}}
     |{{#expr:{{#var:sum}}<=100}}={{#expr:ceil(195+0.5*({{#var:sum}}-75))}}
     |{{#expr:{{#var:sum}}<=100}}={{#expr:ceil(210+0.5*({{#var:sum}}-75))}}
}}}}
}}}}
|[[Health]] || style="text-align:right; color:rgb(132,176,5);" |{{#var:health}}
|[[Health]] || style="text-align:right; color:rgb(132,176,5);" |{{#var:health}}

Revision as of 06:17, 19 June 2024

{{GenerateDetailsPage|Bard}}

Outputs the details page of the Bard class.