Difference between revisions of "Template:DPS From Attacks"
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
-->{{#ifexpr:{{#var:attack7weight}}>={{#var:bestweight}} | {{#vardefine:bestdps|{{#expr:{{#var:bestdps}}+{{{attack7dps|0}}} }} }}{{#vardefine:bestcount|{{#expr:{{#var:bestcount}}+1 }} }} | {{#ifexpr:{{#var:attack7weight}}>={{#var:midweight}} | {{#vardefine:middps|{{#expr:{{#var:middps}}+{{{attack7dps|0}}} }} }}{{#vardefine:midcount|{{#expr:{{#var:midcount}}+1 }} }} }} }}<!-- | -->{{#ifexpr:{{#var:attack7weight}}>={{#var:bestweight}} | {{#vardefine:bestdps|{{#expr:{{#var:bestdps}}+{{{attack7dps|0}}} }} }}{{#vardefine:bestcount|{{#expr:{{#var:bestcount}}+1 }} }} | {{#ifexpr:{{#var:attack7weight}}>={{#var:midweight}} | {{#vardefine:middps|{{#expr:{{#var:middps}}+{{{attack7dps|0}}} }} }}{{#vardefine:midcount|{{#expr:{{#var:midcount}}+1 }} }} }} }}<!-- | ||
-->{{#ifeq:{{#var:bestcount}}|0||{{#vardefine:bestdps|{{#expr:{{#var:bestdps}}/{{#var:bestcount}} }} }} }}<!-- | -->{{#ifeq:{{#var:bestcount}}|0||{{#vardefine:bestdps|{{#expr:{{#var:bestdps}}/{{#var:bestcount}} }} }} }}<!-- | ||
− | -->{{#expr:0.62*{{#ifeq:{{#var:midcount}}|0| {{#var:bestdps}} | {{#expr:{{#var:bestdps}}*0.75 + {{#var:middps}}/{{#var:midcount}}*0.25}} }} }} | + | -->{{#expr:0.62*{{#ifeq:{{#var:midcount}}|0| {{#var:bestdps}} | {{#expr:{{#var:bestdps}}*0.75 + {{#var:middps}}/{{#var:midcount}}*0.25}} }} round 2 }} |
Revision as of 11:51, 7 December 2024
0