Yoko

All sides of Injection
It is currently 2025-10-27 20:13:55

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2007-09-06 12:38:03 
Offline

Joined: 2007-09-03 16:31:57
Posts: 43
Hi, I need a casting script that calculates the distance, for example if my target is IN casting range Injection do last target, but if my target is out the casting range, Injection KEEPS the target...


And a question, somebody knows the delay in ms of a mage with Faster Cast 2 and Fast Casting Recovery 6??? tnx


Top
   
 Post subject:
PostPosted: 2007-09-07 15:34:20 
Offline

Joined: 2005-01-06 11:49:28
Posts: 205
Code:
sub Cast()
var range = '15'
var cast = 'Magic Arrow'
if uo.getdistance('lasttarget') < range then
  uo.cast (cast,'lasttarget')
end if
end sub


Top
   
 Post subject:
PostPosted: 2007-09-07 15:36:14 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Rivory wrote:
Code:
var range = '15'
var cast = 'Magic Arrow'
if uo.getdistance('lasttarget') < range then
  uo.cast (cast,'lasttarget')
end if
end sub


sub забыл ;)


Top
   
 Post subject:
PostPosted: 2007-09-08 12:13:05 
Offline

Joined: 2007-09-03 16:31:57
Posts: 43
I need that you have already the taget...

I cast... if the target is in range ---- > last target

if the target isn't in range -----> keep the target


Top
   
 Post subject:
PostPosted: 2007-09-08 19:44:57 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Azt wrote:
I need that you have already the taget...

I cast... if the target is in range ---- > last target

if the target isn't in range -----> keep the target


Keep a target you can only with uo.target(). Look help


Top
   
 Post subject:
PostPosted: 2007-09-09 13:03:20 
Offline

Joined: 2007-09-03 16:31:57
Posts: 43
Scripts Writer wrote:
Azt wrote:
I need that you have already the taget...

I cast... if the target is in range ---- > last target

if the target isn't in range -----> keep the target


Keep a target you can only with uo.target(). Look help


yes but "keep the target" is for example when Uo Target Cursor remains


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

All times are UTC+02:00


Who is online

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