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
Serael
Newbie


Joined: 29 May 2006
Posts: 8

PostPosted: Mon May 29, 2006 1:16 pm   

Balance problem.
 
Hello, everyone. I hope someone here can help me out with my dilemna.

In the MUD I play, attacking takes balance and you cannot attack again until you gain it back. If you DO attempt to attack before you gain it back, the balance counter in the MUD resets and you have to wait even longer until your next attack.

Now, my question is this. Is there a zMUD command or any other way to cancel any attack input to the mud while you don't have balance?

Currently I have a balance variable that changes from 0 to 1 and back depending on actions that take balance and the message that says you've got it back. What's the next step?

Thanks in advance.
Reply with quote
Petrograd
Novice


Joined: 08 Dec 2005
Posts: 35
Location: Sweden

PostPosted: Mon May 29, 2006 4:27 pm   
 
Hmm, I'd use a macro for attacking, and then set the macro to attack him when balance = 1, and set it to do nothing (or something else) when it's 0, that way you'd only attack if balanced.
Reply with quote
Serael
Newbie


Joined: 29 May 2006
Posts: 8

PostPosted: Mon May 29, 2006 7:29 pm   
 
Ah, thanks a lot, that worked brilliantly. Silly me.
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