Yoko

All sides of Injection
It is currently 2025-10-16 17:57:37

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2009-06-23 08:43:57 
Offline

Joined: 2007-12-03 20:11:19
Posts: 26
уроки скриптинга я читал.сам зделать пробывал но без резултатно. нужен скрипт такой
1.waitmenu polymorph , cast deamon
2. bandageself
3. meditation
4. как только uo.mana=mana uo.life=hp снова кастил поликорф


Top
   
 Post subject:
PostPosted: 2009-06-23 20:17:05 
Offline

Joined: 2008-02-08 18:38:55
Posts: 40
Code:
sub POLy()
while not uo.dead()
if uo.mana==uo.int and uo.life==uo.str then
uo.waitmenu('Polymorph','deamon')
uo.cast('Polymorph')
wait(5000)
uo.bandageself()
while not uo.injournal('bloody')
wait(100)
wend
while not uo.mana==uo.int
uo.useskill('Meditation')
wait(900)
wend
wend
end sub

Syntax maybe wrong!


Top
   
 Post subject:
PostPosted: 2009-06-24 15:43:05 
Offline

Joined: 2007-12-03 20:11:19
Posts: 26
всеравно неработает. пишет что в 17 строчке ошибка. хоть строчяк всего только 16. в чем может быть проблема.и как ее исправить


Top
   
 Post subject:
PostPosted: 2009-06-24 19:05:08 
Offline
User avatar

Joined: 2006-11-06 21:45:23
Posts: 137
Code:
sub PolymorphInDaemon()
   VAR NeedManaToPolymorph = 24
   VAR LastMana
   UO.DeleteJournal()
   while not uo.dead()
      if UO.Mana >= NeedManaToPolymorph then
         UO.WaitMenu('What do you want to polymorph','Daemon')
         UO.Cast('Polymorph')
         LastMana = UO.Mana
         while (UO.Mana >= LastMana) and not UO.InJournal("You lack")
            wait(100)
         wend
         wait(500)
      endif
      while UO.Life < UO.STR
         UO.DeleteJournal()
         UO.BandageSelf()
         repeat
            wait(100)
         until UO.InJournal("You put the bloody|barely help|need healing")
      wend
      while UO.Mana < UO.INT
         UO.UseSkill('Meditation')
         wait(5000)
      wend
      if UO.InJournal("You lack") then
         UO.Print("Нет реагентов для полиморфа")
         UO.Print("Скрипт выключен")
         return
      endif
   wend
endsub


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 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