Class OnSpellCast
Triggered when a game object casts a spell.
public sealed class OnSpellCast : IEvent
- Inheritance
-
OnSpellCast
- Implements
- Inherited Members
- Extension Methods
Properties
- Caster
Gets the object casting the spell.
- ClassIndex
Gets the caster's class index used for this spell.
- CounteringSpell
Gets whether this cast is countering another spell.
- IsInstantSpell
Gets whether the spell is an instant spell.
- Item
Gets the item used to cast the spell, if any.
- MetaMagic
Gets the metamagic applied to the spell.
- PreventSpellCast
Set to true to prevent the spell from being cast.
- ProjectilePathType
Gets the projectile path type used by the spell, if applicable.
- Spell
Gets the spell being cast.
- SpellCountered
Gets whether the spell was countered.
- TargetObject
Gets the target object of the spell, if any.
- TargetPosition
Gets the targeted position of the spell.