Method OnHitCastSpell
OnHitCastSpell(IPCastSpell, int)
Applies an on-hit cast spell effect using caster level.
public static ItemProperty OnHitCastSpell(IPCastSpell spell, int casterLevel)
Parameters
spellIPCastSpellThe spell to cast.
casterLevelintThe caster level.
Returns
- ItemProperty
The created item property.
OnHitCastSpell(IPCastSpell, IPSpellLevel)
[Obsolete("Use the OnHitCastSpell(IPCastSpell, int) overload instead.")]
public static ItemProperty OnHitCastSpell(IPCastSpell spell, IPSpellLevel spellLevel)
Parameters
spellIPCastSpellspellLevelIPSpellLevel