DRK Added Arg

言語: JP EN DE FR
2010-06-21
New Items
users online
フォーラム » Windower » Support » DRK Added Arg
DRK Added Arg
Offline
Posts: 281
By Galkapryme 2019-07-24 20:22:24  
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.