Template:DOTDamageDisplay

Description
This template is used to calculate and display damage-over-time values (DoT or DOT), as found in Battle Nations unit profiles.

It is important that Rank 1 values for the DOT attack are provided!

Examples
Chem Trooper ''
 * Result:

''
 * Result:

Heavy Chemical Tank ''
 * Result:

''
 * Result:

Firedrake ''
 * Result:

Salamander ''
 * Result:

Hunter ''
 * Result:

''
 * Result:

ZRS-6 Dirigible Examples using "power" instead of "rank" ''
 * Result:

mediawiki parser and calculation notes
rank damage modifier: ((-1)*.1)+1

power damage modifier: (*0.02)+1

min damage at rank: floor(*

max damage at rank: floor(*

poison large tick: (floor(*(((-1)*.1)+1)) + floor(*(((-1)*.1)+1)))/2 round0
 * average of min dmg + max dmg, rounded off

poison small tick: ((floor(*(((-1)*.1)+1)) + floor(*(((-1)*.1)+1)))/2) / round0
 * average of min dmg + max dmg, divided by duration, and then rounded off

fire large tick: (floor(*(((-1)*.1)+1)) + floor(*(((-1)*.1)+1)))/4 round0
 * average of min dmg + max dmg, divided by 2, rounded off

fire small tick: ((floor(*(((-1)*.1)+1)) + floor(*(((-1)*.1)+1)))/4) / round0
 * average of min dmg + max dmg, divided by 2, then divided by duration, and then rounded off