Yoko

All sides of Injection
It is currently 2026-01-18 21:10:11

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2004-11-29 23:46:57 
Offline
User avatar

Joined: 2004-07-18 13:01:15
Posts: 141
Значиться задумка такая, нужно что бы чар резал дагером последний труп и собирал кровь в банки...
Вот то на что хватило мозгов наваять, если кто нибудь поможет нормальным рабочим скриптом на сбор крови вампом буду очень благодарен.
Code:
sub dblood()
Var blood = '0x122A'
repeat
uo.exec("warmode '0'")
uo.waittargetobject('lastcorpse')
uo.usetype(0x0F51)
wait(500) 
UO.FindType( blood, -1, 1 )
UO.Usetype ('blood')
until UO.Dead()
end sub


Top
   
 Post subject:
PostPosted: 2004-11-30 07:58:49 
Offline
Expert!
User avatar

Joined: 2004-04-04 21:40:09
Posts: 1007
Code:
sub dblood() 
Var blood = '0x122A'
  Repeat
    UO.Exec('warmode 0')
    UO.WaitTargetObject('lastcorpse')
    UO.UseType('0x0F51')
    Wait(500) 
    UO.FindType(blood, '-1', 'ground')
    UO.Usetype (blood)
  Until UO.Dead()
end sub


Грубые ошибки исправил. Логику проверить нет возможности. Там где я играю рас и классов нет.


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 3 guests


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:  
cron
Powered by phpBB® Forum Software © phpBB Limited