Yoko

All sides of Injection
It is currently 2025-11-05 04:03:19

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: само обкаст
PostPosted: 2008-08-05 15:24:05 
Offline

Joined: 2008-08-03 22:44:53
Posts: 4
Использую инжу чуть большее 2х вечеров, вот написал суб для само обкаста, поначалу непопадал в задержки, но в таком вот виде не сбоит, хотел бы усышать коменты, совет, поправки

сразу оговорюсь, скрипт для сервера kingdomreborn
версия клиент 6.0.9.2 инжект 712.28

Code:
#############################################################
;Bless Cunning Strength Agility fc - 250 fcr - 250 (0 - 1500)
;me now fc-1 fcr-2 (var fc=fc+fcr)
;ntemp = 250+circle*250
sub buf()
   var   ntemp=0
   var fc = 3
   var lwait = fc*250
   if uo.Mana > 20 then
         if uo.poisoned('self') == 1 then
               uo.Cast('Cure','self')
               wait(700)
            endif
        ntemp=2550
      uo.cast('Bless','self')   
      wait(ntemp-lwait)
      ntemp=2050
      uo.cast('Cunning','self')
      wait(ntemp-lwait)
      ntemp=2050
      uo.cast('Strength','self')
      wait(ntemp-lwait)
      ntemp=2050
      uo.cast('Agility','self')
      wait(100)
   else
      uo.print("Mana < 20")
   endif   
end sub


+50 к задержке, на случай провалов пинга


Top
   
 Post subject:
PostPosted: 2008-08-05 18:06:52 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Я в своё время писал обкаст, в котором заклинания забиты в массив, а задержка на каст следующего осуществляется в цикле, с проверкой на изменение реагента/маны/отсутствие надписи физл в журнале(если такая, то повтор этого же заклинания).


Top
   
 Post subject:
PostPosted: 2008-08-06 22:12:19 
Offline

Joined: 2008-03-03 02:16:35
Posts: 45
Вопрос по сути - нафига тебе кастовать что то кроме Bless??? Реактив армор тогда лучше скастуй, вместо остальных спелов.


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