Difference between revisions of "@SpellEffectTick"
From SphereWiki
(Created page with "==Description== Fired when a spell memory has one or more charges (more2) and the spellflag_tick Fires on: * Characters ==References== The following object references...") |
|||
Line 13: | Line 13: | ||
| '''Name''' || '''Description''' | | '''Name''' || '''Description''' | ||
|- | |- | ||
− | | [[ | + | | [[ARGN1]] || Spell ID |
|- | |- | ||
− | | [[ | + | | [[ARGN2]] || Spell Level |
|- | |- | ||
− | | [[ | + | | [[ARGO]] || The spell memory.(Argo.link holds the caster UID) |
− | |||
− | |||
|} | |} | ||
Revision as of 01:40, 23 September 2022
Description
Fired when a spell memory has one or more charges (more2) and the spellflag_tick
Fires on:
References
The following object references are explicitly available for this trigger:
Name | Description |
ARGN1 | Spell ID |
ARGN2 | Spell Level |
ARGO | The spell memory.(Argo.link holds the caster UID) |
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 | The spell that was cast. |
ARGN2 | IO | The strength of the spell. |
LOCAL.CREATEOBJECT1 | O | For field spells, overrides the item BASEID to use for the east-west direction.
For summon spells, overrides the character BASEID to summon. |
LOCAL.CREATEOBJECT2 | O | For field spells, overrides the item BASEID to use for the north-south direction. |
LOCAL.FIELDGAUGE | O | For field spells, overrides the default gauge of the field (1). |
LOCAL.FIELDWIDTH | O | For field spells, overrides the default width of the field (7). |
LOCAL.EFFECTCOLOR | O | For field spells, overrides the color of the fields. |
Return Values
The following return values are explicitly defined for this trigger:
Return Value | Description |
1 | Aborts casting the spell. |