API Docs for:
Show:

SpellEffects Class

A component class which allows an entity to be affected by various effects.

Constructor

Methods

applySpellEffect

(
  • spellEffect
)

Parameters:

clearSpellEffects

()

Removes all spell effects.

getAttackEnchantSpellEffect

() AttackEnchantSpellEffect | Null

Returns:

AttackEnchantSpellEffect | Null: Returns a direct reference to an attack enchant, if present, otherwise returns null.

getAttackSpeedSpellEffects

() LinkedList

Returns:

LinkedList: A list holding spell effects.

getDamageOverTimeSpellEffects

() LinkedList

Returns:

LinkedList: A list holding spell effects.

getHealingOverTimeSpellEffects

() LinkedList

Returns:

LinkedList: A list holding spell effects.

getJumpPowerSpellEffects

() LinkedList

Returns:

LinkedList: A list holding spell effects.

getMovementSpeedSpellEffects

() LinkedList

Returns:

LinkedList: A list holding spell effects.

getResistanceSpellEffects

() LinkedList

Returns:

LinkedList: A list holding spell effects.

getShieldSpellEffects

() LinkedList

Returns:

LinkedList: A list holding spell effects.