Code:
sub main()
uo.say(',exec bandcure')
uo.addtype('arrow')
while uo.targeting()
wait(100)
wend
uo.addtype('poison')
while uo.targeting()
wait(100)
wend
uo.addobject('sum')
while uo.targeting()
wait(100)
wend
g:
uo.findtype('arrow','-1','sum')
uo.grab('1','finditem')
wait(2000)
goto pp
pp:
wait(1000)
uo.waittargettype('poison')
uo.useskill('Poisoning')
wait(3000)
uo.findtype('arrow','-1')
wait(3000)
uo.waittargetobject('finditem')
wait(8000)
goto g
end sub
sub bandcure()
repeat
if uo.poisoned('self') and uo.count('bandage')>0 then
uo.bandageself()
UO.Print('bandageself')
wait(7000)
end if
until uo.life<0
end sub
чар берет из сумки, лежащей на полу, из кучки стрел одну штуку и кидает ее к себе в пак, затем юзает скил пойзонинг - таргет на кег с ядом и потом на стрелу. При необходимости хилится.
На завершающем этапе не срабатывает клик таргетом на стрелу.