Yoko

All sides of Injection
It is currently 2025-12-18 17:19:07

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2008-10-18 16:24:48 
Offline

Joined: 2008-10-03 15:04:05
Posts: 3
Суть в том што я бью чела потом хилю его и опять бью...Но 1 проблема, немоет кровавые бинты в воде, помогите плз
Сам скрипт:

sub Training()
var bandage='0x0E21' # Тип бинтов
var washing='0x000EAFD0' # Тип корыта
var bloody='0x0E20' # Тип кровавых бинтов
# Спаринг 1.00.
uo.AddObject('opponent')
while uo.Targeting()
wait(100)
wend
while not uo.Dead()
if uo.GetHp('opponent') <> uo.GetMaxHp('opponent') then
uo.WarMode(false)
Walk(3922,300)
while uo.GetHp('opponent') <> uo.GetMaxHp('opponent')
uo.WaitTargetObject('opponent')
uo.UseType(bandage)
wait(3500)
uo.GetHp('opponent')
wend
end if
if uo.GetHp('self') <> uo.GetMaxHp('self') then
uo.WarMode(false)
Walk(3922,300)
while uo.GetHp('self') <> uo.GetMaxHp('self')
uo.WaitTargetObject('self')
uo.UseType(bandage)
wait(3500)
wend
uo.UseType(bloody)
uo.WaitTargetObject(washing)
wait(750)
end if
uo.WarMode(true)
Shield()
wep()
uo.Attack('opponent')
wait(500)
Walk(3922,300)
while (uo.GetHp('opponent') > uo.GetMaxHp('opponent')/3) && (uo.Life > 100)
wait(500)
wend
wend
end sub

sub Shield()
var shield='0x1B76'
uo.FindType(shield,'-1','backpack')
if uo.FindCount() then
uo.UseObject('finditem')
end if
end sub

sub wep()
var wep='0x0EC2'
uo.FindType(wep,'-1','backpack')
if uo.FindCount() then
uo.UseObject('finditem')
end if
end sub

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
wend
if not uo.getX() == x || not uo.getY() == y then
goto go
endif
endsub


Top
   
 Post subject:
PostPosted: 2008-10-18 16:32:06 
Offline
User avatar

Joined: 2008-09-12 05:07:34
Posts: 247
Code:
uo.UseType(bloody) 
uo.WaitTargetObject(washing)
местами их поменяй, uo.UseType(bloody) наверх, а uo.WaitTargetObject(washing) вниз


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited