Bloodrose Family Forums Archive


Public Board

-

Scripts

-

Damage Counter & Curing Balance

Poted by Avian on 10 Nov 2005 00:17 - Damage Counter & Curing Balance
T: {<}The elixir heals and soothes you.
A: #set varElixir = elixir

T: {<}Your mind feels stronger and more alert.
A: #set varElixir = elixir

T: {<}You may drink another health or mana elixir.
A: #set varElixir = ELIXIR
   #highlight "white on blue"

T: {<}You feel your health and mana replenished.
A: #set varMoss = moss

T: {<}You may eat another bit of irid moss.
A: #set varMoss = MOSS
   #highlight "white on green"

T: {<}You touch the tree of life tattoo.
A: #set varTree = tree
   #wait 30000
   #echo
   #echo )-----[TREE TATTOO]-----(
   #set varTree = TREE

T: {<}H:{d:newHealth} M:{d:newMana} E:{d} B:{d}% {*}
A: #math dispHealth $newHealth - $health
   #math dispMana $newMana - $mana
   #set health $newHealth
   #set mana $newMana
   #echo_ <H:$dispHealth | M:$dispMana> <$varElixir | $varMoss | $varTree >


VARIABLES:
varTree
varMoss
varElixir
newHealth
newMana
dispHealth
dispMana
health
mana
Poted by Avian on 10 Nov 2005 00:18 -
Oh yeah, here's how it works. Under your prompt, it'll show something like this:

< H:-390 | M:0 > < elixir | MOSS | tree >

This shows that in the last hit, you took 390 health damage and 0 mana damage. You are off elixir and tree balance, but you can still eat moss.

You may hafta tweak the prompt trigger depending on how your prompt is configured.
Poted by Arynn on 10 Nov 2005 04:33 -
what are these variables? Like...what are their value?

newHealth
newMana
dispHealth
dispMana
health
mana
Poted by Avian on 10 Nov 2005 06:34 -
They'll be set automatically. It's the beauty of the system.
Poted by Arynn on 10 Nov 2005 06:38 -
Ah, okie then ^_^ Hehe, made a novice today just to play around with this stuff.
Poted by Avian on 10 Nov 2005 06:45 -
...it's a good system, just use Arynn with it.
Poted by Arynn on 10 Nov 2005 06:51 -
Meh, I like Zmud.
Poted by Avian on 10 Nov 2005 07:05 -
My system > your system.
Poted by Arynn on 10 Nov 2005 07:30 -
My Zmud system = next to non-existant
Poted by Arynn on 12 Nov 2005 00:30 -
I hate Nexus! It keeps deleting my triggers!
Poted by Avian on 12 Nov 2005 03:20 -
Archive them, god.
Poted by Broly on 03 Jan 2006 18:47 -
Here's the mushclinet plugin:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on Tuesday, January 03, 2006, 8:44 PM -->
<!-- MuClient version 3.66 -->

<!-- Plugin "bleh" generated by Plugin Wizard -->

<muclient>
<plugin
  name="bleh"
  author="EOD / UCF"
  id="ab04bbff61597fc0fbb85702"
  language="JScript"
  save_state="y"
  date_written="2006-01-03 20:43:55"
  requires="3.66"
  version="1.0"
  >

</plugin>


<!--  Triggers  -->

<triggers>
 <trigger
  enabled="y"
  match="^You may drink another health or mana elixir\.$"
  regexp="y"
  send_to="9"
  sequence="100"
  variable="balhealth"
 >
 <send>1</send>
 </trigger>
 <trigger
  enabled="y"
  match="^Your mind feels stronger and more alert\.$"
  regexp="y"
  send_to="9"
  sequence="100"
  variable="balhealth"
 >
 <send>0</send>
 </trigger>
 <trigger
  enabled="y"
  match="^You touch the tree of life tattoo\.$"
  regexp="y"
  send_to="12"
  sequence="100"
 >
 <send>world.EnableTimer("baltree", true);
world.ResetTimer("baltree");</send>
 </trigger>
 <trigger
  enabled="y"
  match="^The elixir heals and soothes you\.$"
  regexp="y"
  send_to="9"
  sequence="100"
  variable="balhealth"
 >
 <send>0</send>
 </trigger>
 <trigger
  enabled="y"
  match="^You may eat another bit of irid moss\.$"
  regexp="y"
  send_to="9"
  sequence="100"
  variable="balmoss"
 >
 <send>1</send>
 </trigger>
 <trigger
  enabled="y"
  match="^You feel your health and mana replenished\.$"
  regexp="y"
  send_to="9"
  sequence="100"
  variable="balmoss"
 >
 <send>0</send>
 </trigger>
 <trigger
  enabled="y"
  match="^H\:(.*?) M\:(.*?) E\:(.*?) \[(.*?)\]$"
  regexp="y"
  send_to="12"
  sequence="10"
 >
 <send>newHealth = %1;
newMana = %2;
health = world.GetVariable("health");
mana = world.GetVariable("mana");
world.Note("&lt;H:" + (newHealth - health) + "|M:" + (newMana - mana) + "&gt;&lt;" + world.GetVariable("balhealth") + '|' + world.GetVariable("balmoss") + '|' + world.GetVariable("baltree") + '&gt;');
world.SetVariable("health", newHealth);
world.SetVariable("mana", newMana);</send>
 </trigger>
</triggers>

<!--  Timers  -->

<timers>
 <timer name="baltree" enabled="n" second="30.00"    send_to="12"
>
 <send>world.Note("--You can touch tree again!--");
world.EnableTimer("baltree", false);</send>

 </timer>
</timers>

<!--  Variables  -->

<variables>
 <variable name="balhealth">1</variable>
 <variable name="health">0</variable>
 <variable name="mana">0</variable>
 <variable name="balmoss">1</variable>
 <variable name="newMana">0</variable>
 <variable name="newHealth">0</variable>
<variable name="baltree">1</variable>
</variables>

</muclient>


i'm not sure it's the easiest way to do it and i have no idea if it works, 'cause i'm to lazy to test it and i'm not going to use it.

Also, it has no pretty formating, so everything will be in plain grey.

Indi, how do you disable smilies?
Poted by Indiana on 03 Jan 2006 18:51 -
Hmm, well, you just have to wait 'til morning for me to add the option of "disable smilies in this post".
Poted by Avian on 04 Jan 2006 03:21 -
...that's so much more complicated than mine.
Poted by Indiana on 04 Jan 2006 09:43 -
Yeah, you can now use the "Disable smilies in this post" checkbox on the bottom of the posting .. box.
Poted by Avian on 05 Jan 2006 06:20 -
What if I want some smileys but not others?

Hey... what are you doing with that axe? Stop! Stop! It burns! Argh!
Poted by Indiana on 05 Jan 2006 08:16 -
Argh! See? You didn't want anything in the first place.
Poted by Avian on 05 Jan 2006 18:03 -
Broly asked for it, not me.
Poted by Broly on 10 Jan 2006 12:22 -
Actually, i got so bored that i finally tested it...and it proved useful. I wanted to see how much health moss gives, how much sips give, etc. Here's what i got:

- moss gives 5% every 9-10 seconds or so
- health regeneration for horkvals seems to be 2% also at 9-10 seconds
- and sipping: 11-15% for xoran with trans concoctions, 15 - 20% for my  horkval.
Poted by Avian on 13 Jan 2006 19:29 -
My prompt's a little bit updated... if you wanna see it, lemme know.
Poted by Sarkis on 15 Jan 2006 04:08 -
I do! It's proven useful.
Poted by Avian on 18 Jan 2006 19:21 -
Yeah I'll post it... sometime soon...
Poted by Sarkis on 20 Jan 2006 00:20 -
...have I told you how much I love you, recently?
Poted by Avian on 23 Jan 2006 07:42 -
T: {<}The elixir heals and soothes you.{>}
A: #set varElixir = "------"

T: {<}Your mind feels stronger and more alert.{>}
A: #set varElixir = "------"

T: {<}You may drink another health or mana elixir.{>}
A: #set varElixir = ELIXIR
   #highlight "white on blue"
   #beep

T: {<}You feel your health and mana replenished.{>}
A: #set varMoss = "----"

T: {<}You may eat another bit of irid moss.{>}
A: #set varMoss = MOSS
   #highlight "white on green"
   #beep

T: {<}You touch the tree of life tattoo.{>}
A: #set varTree = tree
   #wait 15000
   #echo
   #echo )-----[TREE TATTOO]-----(
   #echo
   #set varTree = TREE

T: {<}You take some salve from a vial and rub it on your {w}.{>}
A: #set varSalve = "-----"

T: {<}You may apply another salve to yourself.{>}
A: #set varSalve = SALVE

A: st
A: #set t $1
   settarget t $1

T: {<}H:{d} M:{d} E:{d} B:{d}% {*}
A: #math dispHealth $1 - $health
   #math dispMana $2 - $mana
   #set health $1
   #set mana $2
   #echo_ [ H:$dispHealth | M:$dispMana ] [ $varElixir | $varMoss | $varTree | $varSalve ] < $t >


VARIABLES:
varTree
varMoss
varElixir
varSalve
dispHealth
dispMana
health
mana
t

Easier to read. Salve balance. You may need to change the number on tree, depending on your survival ranking.

ST is your targetting alias. Just ST <thing>

I also got rid of two variables and added line breaks, so it should run a bit faster.

And audio cues for moss/elixir.
Poted by Sarkis on 24 Feb 2006 01:29 -
Ok so...if set an alias like this "SETALIAS 1 HKP &tar"
How does your system work with that at all?
Poted by Avian on 24 Feb 2006 19:03 -
setalias 1 hkp &t
Poted by Sarkis on 28 Feb 2006 22:04 -
Thankee much.

Back to main forum archive

View normal forum version