Yoko

All sides of Injection
It is currently 2025-11-08 00:17:20

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2006-05-16 17:26:59 
Offline

Joined: 2006-04-15 09:00:35
Posts: 93
Вот собсна народ иногда просит, решил написать, написал, вроде достаточно оптимально сделано...

Ловите +)

Code:
########################
## Crafted by BigMouse##
########################

sub vamp_autoheal()
var hp, life
  while true
    repeat
      life = uo.str
      while life == uo.life
        wait(500)
      wend
      while uo.life <= 90 and not UO.dead()
        healmax()
      wend
      wait(1200)
    until uo.dead()
    uo.print('Упал =(')
    while uo.dead()
      wait(3000)
    wend
    uo.print('А вот и ожил!')
    wait(1200)
  wend
endsub

sub healmax()
While not uo.life >= (uo.str-25)
  UO.Findtype('0x0F06', '0x0020', 'my')
  If UO.Findcount()and not UO.Dead() then
    UO.Setarm('1')
    UO.Useobject('finditem')
    wait(500)
    UO.Arm('1')
    wait(500)
    If UO.InJournal('so fast') then
      wait(1000)
    endif
  endif
wend
end sub


Top
   
 Post subject:
PostPosted: 2006-05-17 19:21:37 
Offline

Joined: 2004-06-27 16:17:24
Posts: 28
Чето он ваще ниче нехелит :))))


Top
   
 Post subject:
PostPosted: 2006-05-17 19:23:22 
Offline

Joined: 2006-04-15 09:00:35
Posts: 93
А запускать не пробовал? Он отхил не сразу начинает, а когда хитов меньше 90, чтобы удар не сбивал...


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