mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
566 B
566 B
Function: SetSpellSnareValue(snare, spawn)
Description: Set's the spell snare value of the current spell script.
Parameters:
snare(float) - Float valuesnare.spawn(Spawn) - Spawn object representingspawn.
Returns: None.
Example:
-- From Spells/Commoner/Blind.lua
function cast(Caster, Target, Snare)
if not IsEpic(Target) then
--Dazes the target
AddControlEffect(Target, 3)
BlurVision(Target, 1.0)
SetSpellSnareValue(Target, Snare)
AddControlEffect(Target, 11)
end