API Docs for:
Show:

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 Number

    Effect duration in seconds. The clock starts ticking when the effect is applied.

  • healingInterval Number

    How 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 Number

    Amount of healing per interval.

Methods

getDurationRemaining

() Number

Returns:

Number: Number of seconds remaining before this effect expires.

getHealingAmount

() Number

Returns:

Number:

getHealingInterval

() Number

Returns:

Number: