@SpellEffectTick
From SphereWiki
Description
This trigger fires when a character successfully casts a spell.
Fires on:
References
The following object references are explicitly available for this trigger:
Name | Description | I | The object that is going to be affected. |
SRC | The object that is going to be affected. |
Arguments
The following arguments are set for this trigger. If an argument is marked as "In" then a value will be passed in to the trigger, if an argument is marked as "Out" then it can be set to a value to affect Sphere's behaviour:
Argument | In/Out | Description | ||||||||
ARGN1 | I | Spell Id | ||||||||
ARGN2 | IO | Spell Level | ||||||||
ARGO | IO | The spell memory.(Argo.link holds the caster UID) | ||||||||
LOCAL.CHARGES | IO | How many charges are left on the spell memory, this will be automatically decreased by 1 at the end of the method execution. Default value is 1. | ||||||||
LOCAL.DELAY | IO | How many seconds until the next spell effect tick. Default value is 5 seconds. | ||||||||
LOCAL.EFFECT | IO | The effect value of the spell, harmful or beneficial (if SPELLFLAG_HEAL is enabled). | ||||||||
LOCAL.DAMAGETYPE | IO | The damage type of the spell, if you are making a custom spell you must set a value otherwise the spell will not cause damage.
Return ValuesThe following return values are explicitly defined for this trigger:
|