Template:DP100moves
Jump to navigation
Jump to search
Adds all damages together, and then divides it by the converted internal weight and volume values of an item to the base moves per attack cost of the item, to get the damage per 100 moves.
Formula: (total_damage / (65 + volume * 4 + weight / 60 )) * 100. Rounds down to two numbers after the comma.
Usage
Arguments:
- first argument should be the volume (in old internal volume system)
- second argument should be the weight (in old internal weight system)
- third argument should be the total damage value (bash/pierce/cut etc all added together, cant be zero)
If there are not enough arguments, it returns nothing.
examples:
{{DP100moves|10}}
turns into ""{{DP100moves|0|60|1}}
turns into "1.52"{{DP100moves|0|60|10}}
turns into "15.15"{{DP100moves|10|0|33}}
turns into "31.43"{{DP100moves|2|2555|490}}
turns into "426.09"
Uses: template:Movesperattack