Yoko

All sides of Injection
It is currently 2025-11-22 23:02:08

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2004-10-18 09:20:05 
Offline

Joined: 2004-10-18 08:27:39
Posts: 2
sub mag()
var i
while uo.life>0
if uo.ns>0 then
for i=1 to 10
while uo.mana<uo.int
uo.useskill("Meditation")
wait(4000)
wend

uo.cast("Clumsy","self")
wait(4000)
next
else
for i=1 to 10
uo.useskill("Hiding")
wait(3000)
next
end if
wend
end sub
______________________

Требуется чтобы Clusmy кастовалось несколько раз подряд до тех пор пока есть манна,и только потом чар начинает медитацию.
По моим расчетам Clusmy должно кастоваться примерно 11 раз.Т.к манны 100,а на 1 каст требуется 9.
Заранее большое спасибо


Top
   
PostPosted: 2004-10-18 09:54:32 
Offline

Joined: 2004-06-01 16:24:44
Posts: 60
Location: DRW
Попробуй вот так...

Code:
sub magery() 
VAR LastTimer
while NOT UO.Dead()
UO.DeleteJournal()
CheckLag()
while UO.Mana>=10
UO.Cast('Clumsy','self')
wait(4000)
wend

while UO.Mana<UO.Int
UO.WarMode('flip')
wait(300)
UO.Warmode(0)
UO.UseSkill('Meditation')
repeat
wait(100)
until UO.InJournal("You are") OR UO.InJournal("You lose")
UO.DeleteJournal()
wait(1000)
wend
wend
end sub

sub CheckLag()
UO.DeleteJournal()
UO.Click('backpack')

repeat
wait(500)
until UO.InJournal('backpack')
end sub


Top
   
 Post subject:
PostPosted: 2004-10-18 10:00:41 
Offline

Joined: 2004-10-18 08:27:39
Posts: 2
Стоит на есте и ничего не творит...


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 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