Yoko
http://forum.yoko.com.ua/

Magery + Spirit Speak.
http://forum.yoko.com.ua/viewtopic.php?f=20&t=13591
Page 1 of 1

Author:  Wermur [ 2008-05-14 08:22:45 ]
Post subject:  Magery + Spirit Speak.

Пожалуйста добавьте сюда Spirit Speak.

Code:
sub Magery() 
while not UO.Dead()
if uo.skillval("Magery",1) < 1010 Then
if uo.mana >20 then
UO.exec("cast 'Poison' self")
wait(3000)
UO.exec("cast 'Poison' self")
wait(3000)
else
while UO.Mana<UO.Int
UO.Useskill("Meditation")
wait(3000)
wend
endif
else
UO.Exec("terminate Magery")
endif
wend
end sub

Author:  Purgen [ 2008-05-14 08:51:42 ]
Post subject:  Re: Magery + Spirit Speak.

Code:
sub Magery()
   while not UO.Dead()
      if uo.gethp(self)< uo.getmaxhp(self)/4 then
         repeat
            uo.useskill ('Spirit Speak')
            wait(5000) ## ВСТАВИТЬ СВОЁ ВРЕМЯ НА СС
         until uo.gethp(self) == uo.getmaxhp(self)
      else
         if uo.skillval("Magery",1) < 1010 Then
            if uo.mana >20 then
               UO.exec("cast 'Poison' self")
               wait(3000)
               UO.exec("cast 'Poison' self")
               wait(3000)
            else
               while UO.Mana<UO.Int
                  UO.Useskill("Meditation")
                  wait(3000)
               wend
            endif
         else
            UO.Exec("terminate Magery")
         endif
      end if
   wend
end sub

Author:  Wermur [ 2008-05-14 10:43:58 ]
Post subject: 

Спасибо.

Author:  Wermur [ 2008-05-17 02:06:45 ]
Post subject: 

Вот такую ошибку выдает :
:D

Image

Author:  Scripts Writer [ 2008-05-17 09:34:25 ]
Post subject: 

Wermur wrote:
Вот такую ошибку выдает :
:D

Image


Хоть немного вы думать будете головой или за вас и лут собирать?

Author:  Wermur [ 2008-05-17 09:43:16 ]
Post subject: 

Scripts Writer wrote:
Wermur wrote:
Вот такую ошибку выдает :
:D

Image


Хоть немного вы думать будете головой или за вас и лут собирать?


Я посмотрел, подумал и не черта не понял.  :D

Author:  Purgen [ 2008-05-17 13:17:28 ]
Post subject: 

Ну Ё =)
Переменная SELF не обьявлена.
Запакуй SELF в кавычки ' или ". (Сам не знаю разницы)

Author:  Wermur [ 2008-05-18 15:46:50 ]
Post subject: 

Извините меня пожалуйста, за то что, я есть такой! Но у меня не получилось... :D

Author:  Purgen [ 2008-05-19 15:44:13 ]
Post subject:  Re: Magery + Spirit Speak.

Purgen wrote:
Code:
sub Magery()
   while not UO.Dead()
      if uo.gethp('self')< uo.getmaxhp('self')/4 then
         repeat
            uo.useskill ('Spirit Speak')
            wait(5000) ## ВСТАВИТЬ СВОЁ ВРЕМЯ НА СС
         until uo.gethp('self') == uo.getmaxhp('self')
      else
         if uo.skillval("Magery",1) < 1010 Then
            if uo.mana >20 then
               UO.exec("cast 'Poison' self")
               wait(3000)
               UO.exec("cast 'Poison' self")
               wait(3000)
            else
               while UO.Mana<UO.Int
                  UO.Useskill("Meditation")
                  wait(3000)
               wend
            endif
         else
            UO.Exec("terminate Magery")
         endif
      end if
   wend
end sub

А вот так ?

Author:  Wermur [ 2008-05-19 22:18:13 ]
Post subject: 

Все работает, кроме Спирит спика.

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/