Page 1 of 1

New LUA Item and Spell function

Posted: Tue Nov 26, 2013 6:05 pm
by Jabantiz
New function, proc, will be called when a proc triggers it does have slightly different syntax if it is called in an item or spell script.

For item scripts

Code: Select all

function proc(Item, Caster, Target, Type)
end
For spell scripts

Code: Select all

function proc(Caster, Target, Type)
end
Item = the item that has the proc
Caster = spawn that is casting the proc
Target = spawn that is the target of the proc
Type = the type of proc going off

Re: New LUA Item and Spell function

Posted: Tue Nov 26, 2013 6:07 pm
by thefoof
Server is really coming along :D