Yoko

All sides of Injection
It is currently 2024-03-29 08:31:03

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 2013-09-10 09:48:45 
Offline
User avatar

Joined: 2007-05-23 19:51:18
Posts: 197
Господа , решил вернуться в уо - проблема имеет место быть

Code:
sub gx()
  UO.Set('lasttarget','laststatus')
  UO.FindType('0x1f49',-1,'my')
  If UO.GetQuantity('finditem')>0 then
     if UO.Mana>=10 then
        uo.waittargetself()
        UO.UseObject('finditem')
        UO.Print("Scroll")
        uo.attack ('laststatus') / uo.attack ('lasttarget')
else
        UO.Print("мана ")
     endif
  else
     if UO.Mana>=28 then
        uo.waittargetself()
        UO.Cast('Greater Heal')
        UO.Print("Spell")
        uo.attack ('laststatus') / uo.attack ('lasttarget')
else
        UO.Print("мана")
     endif
  endif
end sub


uo.attack ('laststatus') / uo.attack ('lasttarget') - пробовал оба варианта, не бьет


Хилиться , но не бьет, хотя раньше ( вроде ) бил . как исправить ?


Top
   
PostPosted: 2013-09-10 11:51:06 
Offline
User avatar

Joined: 2007-05-23 19:51:18
Posts: 197
попробовал сделать через :
Code:
UO.addobject('Enemy')

и соответственно атаковать
Quote:
uo.attack ('Enemy')
- все равно не выходит . таргет висит и подсвечивается , но атака не идет . почему ?


Top
   
PostPosted: 2013-09-10 16:46:56 
Offline
User avatar

Joined: 2007-05-23 19:51:18
Posts: 197
помогите )


Top
   
PostPosted: 2013-09-10 18:51:26 
Offline
User avatar

Joined: 2012-12-31 00:17:09
Posts: 93
some wrote:
помогите )
Code:
        UO.Set('lasttarget','laststatus')
        uo.waittargetself()
        uo.attack ('laststatus') / uo.attack ('lasttarget')

Хилиться , но не бьет, хотя раньше ( вроде ) бил . как исправить ?


атачишь себя


Top
   
PostPosted: 2013-09-10 19:00:11 
Offline
User avatar

Joined: 2007-05-23 19:51:18
Posts: 197
это я уже понял , не занося вражину в объекты заатачить никак ?


Top
   
PostPosted: 2013-09-10 20:35:12 
Offline
User avatar

Joined: 2012-12-31 00:17:09
Posts: 93
some wrote:
это я уже понял , не занося вражину в объекты заатачить никак ?

а каст сбиваться не будет?
если нет, то через lastattack


Top
   
PostPosted: 2013-09-11 23:18:42 
Offline
User avatar

Joined: 2007-05-23 19:51:18
Posts: 197
вообщем сделал 8)


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

All times are UTC+02:00


Who is online

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