Template:DPS
From Exiled Kingdoms Wiki
Usage
{{DPS|Min=|Max=|Speed=|Crit=|Elem_Dam=|Crit_Mult=}}
Elem_Dam is optional and defaults to 0
Crit_Mult is optional and defaults to 1.5
Formula
Base damage +
(((Min + Max) / 2 * ((100 - Crit) / 100) + Elem_dam +
Crit damage *
((((Max + 1 ) + (Max * 1.5)) / 2 * (Crit / 100))) *
Speed - round to 1 decimal
(Speed / 10)) round 1
Offhand Formula
{{DPS|Min=|Elem_Dam=}}
- When no Max is present:
- Speed defaults to 10
- Crit defaults to 1%
- Crit_Mult defaults to 1.5
0