Yoko

All sides of Injection
It is currently 2025-12-20 00:01:50

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2006-08-21 09:41:17 
Offline
User avatar

Joined: 2006-03-23 19:25:23
Posts: 101
Code:
sub bladespirit1() 
var spirit = '0x023E', spiritid
while true
   uo.findtype(spirit,-1,'ground')
   if uo.findcount() > 0 then
      spiritid = uo.getserial('finditem')
      uo.warmode(true)
      uo.attack(spiritid)
      wait(5000)
   else
      if uo.gethp() < uo.str then
         uo.bandageself()
         wait(3000)
                        sword()
      endif
   endif
wend
endsub

sub bladespirit2()
while not uo.Dead()
repeat
if uo.mana > 20 then
                placecast()
               else
               repeat
                 uo.warmode(false)
                    uo.useskill("Meditation")
                    wait(3000)
               until uo.mana >=28
              endif
wait(55000)
until uo.InJournal('World is')
wait(130000)
wend
end sub

Sub placecast()
uo.waittargettile(6042, 1793, 1568, 251) #поменять координаты(,infotile)
wait(500)
UO.Exec("cast 'Blade Spirits'")
wait(6000)
end sub

sub sword()   ; Одевание щита и оружия
Var Svord='0x0F5' ;Тип оружия, используемый вами
Var Shield='0x1B76' ;Тип оружия, используемый вами
UO.Equipt('Lhand',Shield)
wait(1000)
UO.Equipt('Rhand',Svord)
wait(100)
end sub

Вот мой скрипт на прокачку боевых на блейд спиритах.
В этой строчке:
Code:
uo.waittargettile(6042, 1793, 1568, 251) #поменять координаты(,infotile)

Я ввёл координаты игрока, на которого будем кастовать спирита, но почему-то он кастует его себе под ноги. Помагите это исправить. Спасибо.

_________________
:O


Top
   
 Post subject:
PostPosted: 2006-08-21 10:54:52 
Offline

Joined: 2006-03-22 15:33:02
Posts: 10
попробуй
Code:
uo.waittargetobject(object)

ой пардон наколбасил, вот так нада :D


Last edited by Tracer on 2006-08-21 15:47:19, edited 1 time in total.

Top
   
 Post subject:
PostPosted: 2006-08-21 12:09:04 
Offline
User avatar

Joined: 2006-03-23 19:25:23
Posts: 101
Tracer wrote:
попробуй
Code:
uo.waittargetobject((type,[color]))
Пасиба, щя попробую!

_________________
:O


Top
   
 Post subject:
PostPosted: 2006-08-21 19:51:07 
Offline
User avatar

Joined: 2006-03-23 19:25:23
Posts: 101
Tracer wrote:
попробуй
Code:
uo.waittargetobject(object)

ой пардон наколбасил, вот так нада :D
Я уже понял, на это как раз поменял и всё работает, спс. :wink:

_________________
:O


Top
   
 Post subject:
PostPosted: 2006-08-21 22:31:04 
Offline

Joined: 2006-03-22 15:33:02
Posts: 10
наслаждайся :wink:


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 7 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