TRIGEDIT Types - Rooms

Cast

- activated when a spell is cast in the room.

Argument: not used

NArg: % chance the script will activate

Return Value:

0: the spell will not be cast

1: the spell will be cast as normal

Variables: none

%actor% the caster of the spell

%spell% the number of the spell

%spellname% the spells name

%vict% the target of the spell if it's a player or NPC

%obj% the target of the spell, if it's an object