Recasting of fading defences

by Jillian

Back to Mechanic's Corner.

Jillian2006-11-19 18:31:08
Two questions actually:

First off, I'm wondering if there's a way to queue an action if the requirements aren't met. Simple example, I'd like to evoke yesod when it fades. I already have it checking for equilibrium, but i'm stuck on having it wait to recast the moment I get equilibrium again if I didn't have it at the moment it triggered.

Secondly, since I hate doing work others already spend time on, is there a list somewhere of def fading lines I could use to set up a system like this?

I'm using MUSHclient by the way.
Shorlen2006-11-19 19:28:42
QUOTE(Jillian @ Nov 19 2006, 01:31 PM) 355032
Two questions actually:

First off, I'm wondering if there's a way to queue an action if the requirements aren't met. Simple example, I'd like to evoke yesod when it fades. I already have it checking for equilibrium, but i'm stuck on having it wait to recast the moment I get equilibrium again if I didn't have it at the moment it triggered.

Secondly, since I hate doing work others already spend time on, is there a list somewhere of def fading lines I could use to set up a system like this?

I'm using MUSHclient by the way.

When you put up the defence, set a variable. When you lose the defence, unset the variable. In your eq regain AND balance regain trigger (and both arm balance recovery triggers if you are a warrior), check to see if you have all balances. If you do, check to see if defences are down that you want to put back up (in other words, check to see if those variables are unset). If so, recast the defence.

Also, in your trigger on loss of the defence where you are unsetting the variable for the defence, if you have all balances when that trigger fires, put the defence back up as well.

Now, you don't want to be doing all this in the middle of a fight, right? So, you want to have a "I'm fighting!" mode you can set/unset with aliases. Before putting the defences back up, make sure you aren't in fighting mode.

You can also use this fighting mode for things like keeping rebounding up, and you can also use the keeping defence up stuff for things like keeping pipes lit.
Acrune2006-11-19 21:52:32
I'd have an alias that kept track of defenses you've lost, and when you do the alias, it'll redo all of them that you don't have. I'll definitelty forget to toggle my combat mode on and off, and that could be messy tongue.gif