-
Notifications
You must be signed in to change notification settings - Fork 0
@EffectAdd
This trigger fires when any type of effect memory is being added, like stat changes for s_bless, s_cunning... s_weaken ...
Fires on:
The following object references are explicitly available for this trigger:
{| border="1" cellspacing="4" cellpadding="4" | Name || Description |- | ARGO || The memory item. |- | I || The character affected by the effect. |- | SRC || The character responsible for the spell. |}
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:
{| border="1" cellspacing="4" cellpadding="4" | Argument || In/Out || Description |- | ARGN1 || I || The spell ID |}
The following return values are explicitly defined for this trigger:
{| border="1" cellspacing="4" cellpadding="4" | Return Value || Description |- | 0 || Let the memory exist but block default checks, perfect to override default effects and do some custom stuff. |- | 1 || Blocks any action and stops everything, also deletes the memory (Blocking any changes, this will cause also the effect to do not have duration). |}
Note: Poisoning spells are not affected by this trigger
Category: Reference Compendium Category: Triggers