Code: Select all
sub FighterLeft()
var a, b, c
uo.print('Кого будем бить?')
uo.exec('addobject AtackPlayer')
while uo.targeting()
wait(100)
wend
uo.deletejournal()
wait(1000)
while not uo.dead()
uo.warmode('1')
uo.attack('AtackPlayer')
repeat
wait(100)
until uo.life < 30 or uo.injournal('stop')
uo.say('stop')
uo.deletejournal()
for a = 1 to 3
uo.press(37)
wait(300)
next
uo.findtype('0x0E20')
if uo.findcount() > 0 then
uo.waittargettype('0x1008')
uo.useobject('finditem')
wait(1000)
checklag()
else
wait(50)
endif
while uo.life <> uo.str
if uo.count('0x0E21') == 0 then
uo.print('Нет бинтов')
return
else
wait(50)
endif
b = 0
uo.deletejournal()
uo.setarm('1')
uo.bandageself()
wait(500)
uo.arm('1')
uo.unsetarm()
repeat
wait(100)
b = b + 1
until b > 35 or uo.injournal("You don't need healing") or uo.injournal('You apply the') or uo.injournal('You put the bloody')
wend
for c = 1 to 3
uo.press(39)
wait(300)
next
wend
end sub
Это скрипт на спаринг, чар почему-то игнорируя журнал бегает туда сюда и кричит stop, как-будто тот в журнале не удаляется или хп меньше 30, хотя оно полное, вобщем мож кто что подскажет умное?