on spellcast
Jump to navigation
Jump to search
The spellcast script event is sent by the caster to every entity (*) when a spell is cast. ^$param1 will be set to the spell name and ^#param2 is the caster level. With Arx Libertatis 1.3 or newer, ^$param3 holds the spell ID, which can be used with destroy script command to end the spell.
(*) For the Confuse (![]()
) and Enchant object (![]()
![]()
) spells, this event is only sent to the spell's target.