sub test() #this shub works! but dont wait delay for explo potion uo.cast('Flame Strike', 'laststatus'); wait(5) uo.usetype('0x0F0E','0x0015') #wait(2000) uo.waittargetobject('laststatus'); end sub
sub spellExplo() uo.cast('Flame Strike', 'laststatus'); wait(5) uo.usetype('0x0F0E','0x0015') while not uo.InJournal('PlayerNick: 1') #crash? wend #wait(2000) uo.waittargetobject('laststatus'); #uo.lclick(uo.getx('laststatus'), uo.gety('laststatus')) end sub
sub test() uo.cast("Flame Strike", "laststatus"); wait(2000);if fails will stay in this idle time uo.waittargetobject("laststatus"); uo.usetype("0x0F0E","0x0015") wait(3000);if fails will stay in this idle time end sub
Apparently, your code click and launch explo potion instant.
I want, click in pot, wait for 2 seconds and lauch in target. For the opponent no chance to dodge.
sub test() var x,y,z uo.cast("Flame Strike", "laststatus"); wait(2000) uo.usetype("0x0F0E","0x0015") wait(2000) x = uo.getx('laststatus') y = uo.gety('laststatus') z = uo.getz('laststatus') uo.1click(x,y,z) end sub
sub test() var x,y,z uo.cast("Flame Strike", "laststatus"); wait(2000) uo.usetype("0x0F0E","0x0015") wait(2000) x = uo.getx('laststatus') y = uo.gety('laststatus') z = uo.getz('laststatus') uo.1click(x,y,z) end sub
Вот это бред. что за команда uo.1click ? или ты имел ввиду lclick? причём тогда тут x y Z . у тебя на мониторе обьём есть?