Template:Combat level: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#expr: | <includeonly>{{#expr: | ||
(.25 * ({{#if:{{{Defence|}}}|{{{Defence}}}|{{#if:{{{Name|}}}|(0{{hiscore|{{{Name}}}|Defence}})|1}}}} + {{#if:{{{Hitpoints|}}}|{{{Hitpoints}}}|{{#if:{{{Name|}}}|(0{{hiscore|{{{Name}}}|Hitpoints}})|10}}}} + ({{#if:{{{Prayer|}}}|{{{Prayer}}}|{{#if:{{{Name|}}}|(0{{hiscore|{{{Name}}}|Prayer}})|1}}}} / 2 - .5 round 0)) + .325 * | (.25 * ({{#if:{{{Defence|}}}|{{{Defence}}}|{{#if:{{{Name|}}}|(0{{hiscore|{{{Name}}}|Defence}})|1}}}} + {{#if:{{{Hitpoints|}}}|{{{Hitpoints}}}|{{#if:{{{Name|}}}|(0{{hiscore|{{{Name}}}|Hitpoints}})|10}}}} + ({{#if:{{{Prayer|}}}|{{{Prayer}}}|{{#if:{{{Name|}}}|(0{{hiscore|{{{Name}}}|Prayer}})|1}}}} / 2 - .5 round 0)) + .325 * | ||
{{ | {{Max | ||
|({{#if:{{{Attack|}}}|{{{Attack}}}|{{#if:{{{Name|}}}|(0{{hiscore|{{{Name}}}|Attack}})|1}}}} + {{#if:{{{Strength|}}}|{{{Strength}}}|{{#if:{{{Name|}}}|(0{{hiscore|{{{Name}}}|Strength}})|1}}}}) | |||
|{{Max | |||
|(3 * {{#if:{{{Ranged|}}}|{{{Ranged}}}|{{#if:{{{Name|}}}|(0{{hiscore|{{{Name}}}|Ranged}})|1}}}} / 2 - .5 round 0) | |||
|(3 * {{#if:{{{Magic|}}}|{{{Magic}}}|{{#if:{{{Name|}}}|(0{{hiscore|{{{Name}}}|Magic}})|1}}}} / 2 - .5 round 0) | |||
}} | |||
}}) - {{#switch: {{#if:{{{DP|}}}|{{{DP}}}|0}} | }}) - {{#switch: {{#if:{{{DP|}}}|{{{DP}}}|0}} | ||
| 0 = 0.4999 | 1 = 0.0499 | 2 = 0.0049 | 0 }} round {{#if:{{{DP|}}}|{{{DP}}}|0}} | | 0 = 0.4999 | 1 = 0.0499 | 2 = 0.0049 | 0 }} round {{#if:{{{DP|}}}|{{{DP}}}|0}} | ||
}}</includeonly><noinclude>{{/doc}}</noinclude> | }}</includeonly><noinclude>{{/doc}}</noinclude> |