Salve Balance issues

by Unknown

Back to Mechanic's Corner.

Unknown2006-06-05 01:50:30
I'm trying to fix up my salvebalance triggers in ZMud so that it's not affected by applying health - At the moment, it's something like

#TRIGGER {You take out some salve and quickly} {#VA Salvebalance 0}
#COND {You may drink another health} {#VA salvebalance 1} {wait 10}

But it's not picking it up that I can tell - I once got an error message about it. I think maybe it's the options in the #COND line that I've screwed up, but the help files aren't very... well, helpful, on the topic. Part of the problem may also be that I'm editing things through the settings window rather than the console window - but I find it's easier to keep track of things that way, especially when entering multiple triggers that have the same effect. If anyone can help me out on this, I'd be really grateful.
Unknown2006-06-05 07:37:57
Why do you have the wait 10 in there? What are you trying to do exactly? The correct syntax would be {Wait|Param=10000} assuming you mean 10 seconds (since it's measured in ms), but I don't think you need that and I think it'd mess things up if it was there.

There's no point to conditioning those two anyway, since if you were to split it into two triggers, it'd have the same effect.

Also, yes the help files are limited in their explanation of conditional triggers. Visit this link instead for an indepth explanation of multi-state triggers http://www.zuggsoft.com/library/trigadv.htm
Unknown2006-06-05 10:36:03
Heh, I thought that would make it wait 10 lines or so... since I'm guessing in combat, that'd be more than enough, and I didn't want it mistaking recovering balance after sipping health for recovering balance after applying health. Although now that I think about it, I've been going about this totally the wrong way. First off, the condition trigger is wrong... (it should've been the apply health message, not the balance recovery message doh.gif ), secondly I don't need a condition for it in the first place... I just need another trigger that fires upon health being applied....

I guess this is what happens when you get offered a huge array of shiny things to play with, huh?

Thanks for the link, though. It's always useful to have more information on things like this - I think I have another use for the #CONDITION command in mind.
Soll2006-06-05 10:56:12
In combat, you can get a huge number more than 10 lines between applying a salve and getting balance back, so be careful there. Lusternian combat can be very spammy.
Shaeden2006-06-05 13:54:30
QUOTE(Soll @ Jun 5 2006, 06:56 AM) 294323

Lusternian combat can be very spammy.

Can is an understatement