Попробуй вот так. Ходилка хз работает ли я такую не пробовал.
х1y1 это координаты когда чары бьются
х2y2 это координаты когда чары лечатся.
тип бинтов пропиши.
Но скирпты есть лучше. Видел гдето чтобы брал бинты, мыл их, брал оружие, ел...
Code:
sub WarTraining()
var x1 = 123
var y1 = 123
var x2 = 123
var y2 = 123
var bandages='ТИП бинтов'
uo.addObject('opponent')
while uo.targeting()
wait(200)
wend
uo.warmode(true)
uo.attack('opponent')
repeat
if uo.getHP() < uo.getMaxHP()/4 then
Walk(x2,y2)
uo.warmode(false)
repeat
UO.Bandageself()
wait(3000)
until uo.getHP() == uo.getMaxHP()
Walk(x1,y1)
uo.warmode(true)
uo.attack('opponent')
endif
if uo.getHP('opponent') < uo.getMaxHP('opponent')/2 then
Walk(x2,y2)
uo.warmode(false)
repeat
uo.waittargetobject('opponent')
uo.usetype('bandages')
wait(350)
until uo.getHP('opponent') == uo.getMaxHP('opponent')
Walk(x,y)
uo.warmode(true)
uo.attack('opponent')
endif
wait(700)
until uo.dead()
endsub
sub Walk(x,y)
go:
while not uo.getX() == x || not uo.getY() == y
if not uo.getX() == x then
if uo.getX() > x then
uo.press(36)
else
uo.press(34)
endif
endif
if not uo.getY() == y && uo.getX() == x then
if uo.getY() > y then
uo.press(33)
else
uo.press(35)
endif
endif
wait(700)
wend
wait(700)
if not uo.getX() == x || not uo.getY() == y then
goto go
endif
endsub