Yoko

All sides of Injection
It is currently 2025-12-22 01:37:17

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2005-07-04 19:18:45 
Offline
User avatar

Joined: 2005-06-19 19:21:28
Posts: 159
Нужен скрипт чтобы летал по рунам(всего 17) и перезарежал их при запуске скрипта...
Как все перезарядит скрипт останавливался...
Если не трудно помогите!!!


Top
   
 Post subject:
PostPosted: 2005-07-05 00:40:45 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 746
Location: The Citadel
Вписывай в массив айдишники рун и проверяй.


Code:
sub Recharge()
VAR a, MyX, MyY, MyMana
Dim Rune[17]
Rune[1] =
Rune[2] =
Rune[3] =
Rune[4] =
Rune[5] =
Rune[6] =
Rune[7] =
Rune[8] =
Rune[9] =
Rune[10] =
Rune[11] =
Rune[12] =
Rune[13] =
Rune[14] =
Rune[15] =
Rune[16] =
Rune[17] =

  For a = 1 to 17
    If UO.Mana < UO.Int Then
       Repeat
         UO.UseSkill( 'Meditation' )
         Wait(1000)
       Until UO.Mana == UO.Int
    EndIf
    Cast:
        MyX = UO.GetX()
        MyY = UO.GetY()
        UO.Cast( 'Recall', Rune[a] )
        UO.DeleteJournal() 
          Repeat
            Wait(500)
              If UO.InJournal( 'izzle' ) Then
                GoTo Cast
              EndIf
          Until MyX <> UO.GetX() AND MyY <> UO.GetY()
    Mark:
        MyMana = UO.Mana
        UO.Cast( 'Mark', Rune[a] )
        UO.DeleteJournal() 
          Repeat
            Wait(500)
              If UO.InJournal( 'izzle' ) Then
                GoTo Mark
              EndIf
          Until MyMana <> UO.Mana
  Next
end sub


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

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] and 5 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