Yoko

All sides of Injection
It is currently 2018-12-12 19:41:53

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: атака по типу
PostPosted: 2016-11-07 18:54:53 
Offline

Joined: 2016-04-04 11:35:54
Posts: 7
Привет всем как в этот скрипт запилить атаку нескольких типов и игнор других

Code:
sub att_cat()

UO.Set('finddistance','15')
   while UO.GetHP('self') < 500
      UO.FindType('0x00C9','-1', 'ground')
         if UO.FindCount() > 0 then
            UO.DeleteJournal()
            UO.Attack('finditem')
            repeat
            wait(500)
            until UO.InJournal('Body of')
         else
            wait(100)
         endif
   wend
end sub


Top
   
PostPosted: 2016-11-07 19:31:31 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2783
Location: Иваново
Десять уроков скриптинга (урок 3)
Внизу For next

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"


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