Автохел

Ask for scripts here

Moderators: Murderator+, Murderator

Post Reply
keSHLz
Posts: 41
Joined: 2007-03-30 11:49:39
Contact:

Автохел

Post by keSHLz »

Code: Select all

sub AutoHeal()
   VAR GreatHeal = '0x0F0C'
   VAR Rubu = '0x1E1E'
   VAR bandageself = '0x0E21'
   VAR mana = '0x0F08'
   Endif
   repeat
      If UO.Life < 70 Then
         UO.UseType( Rubu )
      Endif
      If UO.Life < 90 Then
         UO.Exec("bandageself")
      Endif
      If UO.Life < 30 Then
         UO.Exec("GreatHeal")
         Endif
         if uo.mana < 25 Then
         uo.usetype('mana')
      Endif
      wait(1000)
   until UO.Dead()
end sub

воопщем вот такой скрипт (сам писал) при 90 хилат бинтами,70рыбой гх,30пьет гх бульку,если меньше 25маны сам пьет,нужно зделать вот что нужно добавить функцию чтобы хилился со скралов сам на себя бопустим при 50 здоровья,пробвал сам сделать неособо хорошо получилось (
Nmy
Expert!
Posts: 2152
Joined: 2005-09-14 15:31:58
Location: Latvia

Post by Nmy »

Code: Select all

         UO.Exec("GreatHeal") 

??
keSHLz
Posts: 41
Joined: 2007-03-30 11:49:39
Contact:

Post by keSHLz »

Mr Nmy wrote:

Code: Select all

         UO.Exec("GreatHeal") 

??
это он пьет гх бульку
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

keSHLz wrote:
Mr Nmy wrote:

Code: Select all

         UO.Exec("GreatHeal") 

??
это он пьет гх бульку

Хорошо пьёт? Ваще не должен..

Касательно темы:

http://yoko.netroof.net/help

По коммандам usetype, waittarget*.
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Post Reply