ShieldSpellEffect Class
Spell effect that adds a shield. This effect stacks additively. The last shield applied is the first one to be damaged. Shields protect against all types of damage.
Constructor
ShieldSpellEffect
(
-
duration
-
absorbtionAmount
Parameters:
-
duration
NumberEffect duration in seconds. The clock starts ticking when the effect is applied.
-
absorbtionAmount
NumberAmount of damage this shield can absorb before it's dispelled.
Item Index
Methods
getAbsorbtionAmountRemaining
()
Number
Returns:
Number:
Amount of damage this shield can still absorb.
getDurationRemaining
()
Number
Returns:
Number:
Number of seconds remaining before this effect expires.