Question on salve balance.

by relaren

Back to Mechanic's Corner.

relaren2007-02-18 10:26:34
So many different things!

So, having noticed that the balances here work totally different, more specifically, balance is not taken when applying salve to a bodypart that has no damage.

How are you all dealing with this? This is what I have come up with, though from the more experienced combatants about, will this cause me problems? I believe given the right circumstances it may well do, though some feedback on this would be wonderful.
I refer to setting salve balamce back to 0 if I was not totally clear there.

And yes, I know more variables need resetting, though I am only just beginning to write this system, so bear with that one.

CODE
#REGEX {^You take out some salve and quickly rub it on your arms\\.} {} "Healing"
#COND {The salve has no discernable effect\\.$} {crippledleftarm=0;crippledrightarm=0;salvebal=0} {within|param=1|regex}


Appreciated and whatnot.

-Jeisha
Shorlen2007-02-18 10:53:48
I don't handle this very well, but in my curing system, I have a bit of code that picks up when I use a cure and nothing is cured from it. When this happens, I remove all afflictions that can be cured with that cure from my list of stuff to cure. So, if someone illusions that I have dysentary, and I sip choleric and nothing is cured, I remove dysentary from the list of afflictions I have so I stop trying to sip choleric.

In this same bit of code, if I use certain cures and nothing happens (such as mending), I set my salve balance back to true in addition to removing the things it cures from my queues.
relaren2007-02-18 10:58:03
Aye, so I am doing pretty much the same it seems. The thing that was worrying me was that if I was to reset balance but get afflicted with another salve affliction and it tried to heal without actually having salve balance back.

Only time will tell on this quite possibly. Can always go and make amends if needs be.

Appreciated.
Shorlen2007-02-18 12:25:47
QUOTE(Jeisha @ Feb 18 2007, 05:58 AM) 384338
Aye, so I am doing pretty much the same it seems. The thing that was worrying me was that if I was to reset balance but get afflicted with another salve affliction and it tried to heal without actually having salve balance back.

Only time will tell on this quite possibly. Can always go and make amends if needs be.

Appreciated.

Trying to heal when you don't have balance isn't that big of a deal, really. Never curing because you think you don't have salve balance and do IS a big deal.
relaren2007-02-18 12:45:00
Hehe, so very true. I will leave it as is then for the meantime. If it causes anything amiss, I can always fix it easily enough. Thanks!
Unknown2007-02-18 12:55:27
This trigger assumes that you're always applying mending. If you apply liniment and it has no effect, you'll reset your crippled arm variables. The real checks are more complicated than this because you need to know what you applied, where you applied it, and if you really had salve balance or not when you applied it.
Shorlen2007-02-18 12:59:22
QUOTE(Zarquan @ Feb 18 2007, 07:55 AM) 384351
This trigger assumes that you're always applying mending. If you apply liniment and it has no effect, you'll reset your crippled arm variables. The real checks are more complicated than this because you need to know what you applied, where you applied it, and if you really had salve balance or not when you applied it.

I was assuming she turned that trigger on only when she sent an "apply mending" command.... Of course, then there's the time you apply both mending and health at the same time x_x
Unknown2007-02-18 13:02:06
I almost wish you could tell what type of vial you used when applying salves so you know what you applied based on what sort of vials you filled with what. (And, while we're at it, let's make it so you know which pipe you smoked, too. Heh.)
relaren2007-02-18 13:38:01
Haha, yeah, but that would make our job simple, and that cannot be allowed now can it?

Was so much easier having salve application take balance even without any discernable affliction. Obviously from a healing point of view, it not taking balance is better for us, but well, you know what I mean.

Another thing on the list to just ignore and fix when errors occur I think.

Thanks again for all your comments, all are appreciated.

-Jeisha
relaren2007-02-18 13:41:24
QUOTE(Shorlen @ Feb 18 2007, 12:59 PM) 384353
I was assuming she turned that trigger on only when she sent an "apply mending" command.... Of course, then there's the time you apply both mending and health at the same time x_x


-Applying- Health. Just wow, this gets even worse. Well, first problem is easily solved, obviously if I just track the last cure I can work something from that, but then I read this and.... I want to scream.

Back to the drawing board it is, thanks guys.
Shorlen2007-02-18 14:24:36
QUOTE(Zarquan @ Feb 18 2007, 08:02 AM) 384354
I almost wish you could tell what type of vial you used when applying salves so you know what you applied based on what sort of vials you filled with what. (And, while we're at it, let's make it so you know which pipe you smoked, too. Heh.)

That would be irritating, making sure you refill specific coloured vials with specific potions...
Shorlen2007-02-18 14:26:25
QUOTE(Jeisha @ Feb 18 2007, 08:41 AM) 384368
-Applying- Health. Just wow, this gets even worse. Well, first problem is easily solved, obviously if I just track the last cure I can work something from that, but then I read this and.... I want to scream.

Back to the drawing board it is, thanks guys.

Applying health cures deepwounds (what warriors do to you when they hit you), and it uses POTION (health/mana/bromide) balance, not salve balance.
relaren2007-02-18 14:35:05
Ahh, well that certainly makes thing a tad easier. Thankyou for that, much appreciated.
I do have one question though, after applying it, the message back is still "You may drink another health...." yes?

Just seems very odd if I have to check @sipbal for an application. mellow.gif
Unknown2007-02-18 16:09:55
QUOTE(Shorlen @ Feb 18 2007, 09:24 AM) 384376
That would be irritating, making sure you refill specific coloured vials with specific potions...



It's something that would be generally helpful in tracking just what you did and what succeeded or failed. Good for anti-illusion but even better in just basic tracking. Going to the little extra trouble to craft the specific types of vials from gems and then refill them from a keg is not a problem for some of us. Heh.
Shorlen2007-02-18 16:19:14
QUOTE(Jeisha @ Feb 18 2007, 09:35 AM) 384382
Ahh, well that certainly makes thing a tad easier. Thankyou for that, much appreciated.

If you want more help on random things, feel free to ask me IG or over an IM client (my contact info is in my profile).
Shorlen2007-02-18 16:20:27
QUOTE(Jeisha @ Feb 18 2007, 09:35 AM) 384382
Ahh, well that certainly makes thing a tad easier. Thankyou for that, much appreciated.
I do have one question though, after applying it, the message back is still "You may drink another health...." yes?

Yes
QUOTE
Just seems very odd if I have to check @sipbal for an application. mellow.gif

You have to check herb balance for applying arnica (cures tiny fractures), as another note.