Yoko

All sides of Injection
It is currently 2025-10-12 13:44:48

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Mana Drain
PostPosted: 2010-12-22 13:15:08 
Offline

Joined: 2009-06-12 20:10:00
Posts: 240
Location: Vasa Smerti(RASToMAN) DRW
это 1 скрипт

Здрасти у меня вот такоЙ вопрос как зделать такой вот скрипт
Нажемаю на одну кнопку он кидает Мана драин до того пока я не нажму на туже кнопку


2 скрипт

Code:
sub antifreeze()
  UO.Set('lasttarget','laststatus')
  UO.FindType('0x1F5F',-1,'my')
  If UO.GetQuantity('finditem')>0 then
     if UO.Mana>=14 then
        UO.WaitTargetObject('lasttarget')
        UO.UseObject('finditem')
        UO.Print("Scroll")
     else
     endif
  else
     if UO.Mana>=48 then
        UO.Cast('Flame Strike','laststatus')
        UO.Print("Spell")
     else
     endif
  endif
  Random()
end sub

вот скрипт на фс мне надо в нево вставить проверку на парал , и кидания стрелку в него

или одельный скрипт на проверку и тоже самое как в первом скрипте с нажатием токо одной клавишы


Top
   
 Post subject: Re: Mana Drain
PostPosted: 2010-12-25 09:36:06 
Offline

Joined: 2009-06-12 20:10:00
Posts: 240
Location: Vasa Smerti(RASToMAN) DRW
:( чт никто не поможет


Top
   
 Post subject: Re: Mana Drain
PostPosted: 2011-01-15 09:04:31 
Offline
User avatar

Joined: 2010-04-07 14:43:26
Posts: 62
2) Вроде работал когда-то. Протестируй. При атаке на тебя, а затем при словах заклинания: 'An Ex Por', 'Por Ort Grav', 'Kal Vas Flam' - ты кидаешь стрелу в того кто их произнёс (это может быть как друг так и враг - скрипт доделать надо :? ).
Code:
sub attack()
   UO.DeleteJournal()
   var Attacker
   repeat
      Attacker=uo.JournalSerial(uo.InJournal('attacking you*'))
      if uo.InJournal('An Ex Por') or uo.InJournal('Por Ort Grav') or uo.InJournal('Kal Vas Flam') then
         uo.cast("Magic Arrow",Attacker);
         UO.Print('Стрела в задницу ' + UO.GetName(Attacker))
      endif
      UO.DeleteJournal()
      checklagAttack()
   until 0
end sub
;
Sub checklagAttack()
   while uo.Journal(0)==''
      wait(100)
   Wend
end Sub


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