Yoko

All sides of Injection
It is currently 2022-08-18 00:05:21

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2019-12-06 21:21:31 
Offline
User avatar

Joined: 2006-06-21 20:49:37
Posts: 44
Location: Moscow
Добрый день!
Прошу помочь разобраться почему после включения скрипта он при первом появлении моба Вортекса работает и начинает стрелять, а при повторном просто стоит и ничего не делает?
p.s. type моба в данном случае указаны любые, суть не в этом.
Спасибо!
Code:
sub atk()
var i
DIM mob[3]
 
mob[0]='0x0EED'
mob[1]='0x0F7B'
mob[2]='0x0F7A'

UO.Set('finddistance','15')
while not uo.dead()
For i=0 to 2
UO.FindType(mob[i], '-1', 'ground')
if UO.FindCount() then
UO.DeleteJournal()
UO.Attack('finditem')
repeat
wait(500)
until UO.InJournal('Body of')
else
wait(100)
endif
next
wend
end sub

_________________
kraftlive


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

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