Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
zeroangel
Beginner


Joined: 13 Dec 2002
Posts: 10
Location: USA

PostPosted: Sun Nov 30, 2003 3:34 am   

spell trigger
 
I have a self spell macro, and a macro to spell others. I also have a trigger to recast a spell if I fail. However, the trigger only works on spells I cast on myself. I'm looking for a way to make the trigger recast the spell on the target, if there is one. I have

You lost your concentration while trying to cast %1.
c %1

I'm sure there's a simple answer to this, I just don't know it. I'm not that great with anything complex on triggers. [:p]
Reply with quote
hatespyware
Apprentice


Joined: 16 Dec 2002
Posts: 103

PostPosted: Sun Nov 30, 2003 4:17 am   
 
quote:
Originally posted by zeroangel
I'm sure there's a simple answer to this, I just don't know it.

Wrong! If you play around with it long enough, you'll probably end up with a priority queue, though. Vijilante posted one here. The problem lies in the fact that you can't spam all the casts at once (which may or may not be an issue for you).
Reply with quote
zeroangel
Beginner


Joined: 13 Dec 2002
Posts: 10
Location: USA

PostPosted: Sun Nov 30, 2003 4:35 am   
 
I don't need a spell script or anything like that, simply a trigger to recast a spell on a target if I fail.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Nov 30, 2003 4:48 am   
 
#AL c {#VAR castinfo {%-1};cast @castinfo}
#TR {You lost your concentration while trying to cast} {cast @castinfo}
Reply with quote
zeroangel
Beginner


Joined: 13 Dec 2002
Posts: 10
Location: USA

PostPosted: Sun Nov 30, 2003 5:24 am   
 
thanks so much! works great :D
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net