New LUA Item and Spell function
Posted: Tue Nov 26, 2013 6:05 pm
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
For spell scripts
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
For item scripts
Code: Select all
function proc(Item, Caster, Target, Type)
end
Code: Select all
function proc(Caster, Target, Type)
end
Caster = spawn that is casting the proc
Target = spawn that is the target of the proc
Type = the type of proc going off