Yoko

All sides of Injection
It is currently 2024-03-28 14:10:11

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2008-07-30 13:17:59 
Offline

Joined: 2008-07-28 23:09:00
Posts: 21
Вот сделал так чтобы со скрула по ласт таргету стрелялся фламе страик.

Но почему по ласттаргету не стреляет, приходится самому кликать(На кого стрельнуть)

Sub Flame()
uo.usetype('0x1F5F,[0x0000]')
if uo.injournal('cliloc# 0xA3A1') then
uo.cast('Flame Strike','LastTarget')
uo.deletejournal()
endif
endsub

Почему?


Top
   
 Post subject:
PostPosted: 2008-07-31 08:28:09 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Предлагаю вам напротив каждой строчки поставить комментарий, что она означает.

Перенёс из "I need script!", смотрите на раздел в следущий раз.

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
PostPosted: 2008-08-03 20:54:54 
Offline

Joined: 2008-03-03 02:16:35
Posts: 45
Noar wrote:
Вот сделал так чтобы со скрула по ласт таргету стрелялся фламе страик.

Но почему по ласттаргету не стреляет, приходится самому кликать(На кого стрельнуть)


Попробуй так.

Code:
Sub Flame()
uo.usetype('0x1F5F,[0x0000]')
uo.waittargetlast()
if uo.injournal('cliloc# 0xA3A1') then
uo.cast('Flame Strike','LastTarget')
uo.deletejournal()
endif
endsub


Top
   
PostPosted: 2013-07-21 00:42:08 
Offline

Joined: 2009-10-24 23:36:23
Posts: 28
есть скрипт
sub cast_fs()
if uo.count("0x1F5F")>0 then
uo.waittargetlast()
UO.usetype("0x1F5F")
else
uo.waittargetlast()
uo.cast('Flame Strike')
end if
end sub

Как сделать так, чтобы если тебя зафризили, он не пытался кастовать со свитка. В данном случае он просто из под фриза не может юзнуть свитки , а магией не пользуется. Спасибо.


Top
   
PostPosted: 2013-07-21 09:51:40 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
Тема. И особенно 4 сообщение прочитай.

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


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