DRK Added Arg

Language: JP EN DE FR
2010-09-08
New Items
users online
Forum » Windower » Support » DRK Added Arg
DRK Added Arg
Offline
Posts: 281
By Galkapryme 2019-07-24 20:22:24
Link | Quote | Reply
 
I added this arg in my DRK lua. Please let me know if I did it correctly. I based it off the existing Silence/Echo drop arg.
Code
function job_pretarget(spell, action, spellMap, eventArgs)
    if spell.type:endswith('Magic') and buffactive.cursed then
        eventArgs.cancel = true
        send_command('input /item "Holy Water" <me>')
    end
end
Log in to post.