HealingOverTimeSpellEffect Class
Spell effect that periodically heals the entity. This effect stacks additively, where each effect is its own source of healing.
Constructor
HealingOverTimeSpellEffect
(
-
duration
-
healingInterval
-
healingAmount
Parameters:
-
duration
NumberEffect duration in seconds. The clock starts ticking when the effect is applied.
-
healingInterval
NumberHow many seconds should pass between each instance of healing. The spell effect always heals the last tick right before expiring, so a 15 second long DoT with a 3 second interval will heal at 12 seconds remaining, then 9, then 6, then 3, then 0.
-
healingAmount
NumberAmount of healing per interval.
Item Index
Methods
getDurationRemaining
()
Number
Returns:
Number:
Number of seconds remaining before this effect expires.
getHealingAmount
()
Number
Returns:
Number:
getHealingInterval
()
Number
Returns:
Number: