From GamingWiki
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
-->{{#vardefine:trackskil | {{#explode:{{#var: thetrack}}|//|1}} }}<!-- | -->{{#vardefine:trackskil | {{#explode:{{#var: thetrack}}|//|1}} }}<!-- | ||
-->{{#vardefine:trackmod | {{#expr: ceil(({{#var: skillValue{{#var:trackskil}}}} + 0) / 2)}} }}<!-- | -->{{#vardefine:trackmod | {{#expr: ceil(({{#var: skillValue{{#var:trackskil}}}} + 0) / 2)}} }}<!-- | ||
− | -->{{#vardefine:defstress | {{#expr: {{ | + | -->{{#vardefine:defstress | {{#expr: {{{defaultstress|{{{2|5}}}}}} + {{#var:trackmod}} }}}}<!-- |
-->{{#vardefine:thestress | <!-- | -->{{#vardefine:thestress | <!-- | ||
-->{{#if:{{{ {{#var: trackname}}|}}}|{{{ {{#var: trackname}} }}}|{{#var:defstress}}//0}}<!-- | -->{{#if:{{{ {{#var: trackname}}|}}}|{{{ {{#var: trackname}} }}}|{{#var:defstress}}//0}}<!-- |