Triggers/Alias for an Effective Healer

Scripts and support for your favorite MUD client.
Jegzed
Sojourner
Posts: 1240
Joined: Sat Jan 27, 2001 6:01 am

Triggers/Alias for an Effective Healer

Postby Jegzed » Sat Jul 28, 2001 7:20 am

This set creates a set of macros from f1-f10 with all ppl below the set percent of health everytime you type group.


#ALIAS addheal {#if (@heal_counter = 0) { #var heal_target1 %1; #var healm _F1_ };#if (@heal_counter = 1) { #var heal_target2 %1; #var healm _F2_ };#if (@heal_counter = 2) { #var heal_target3 %1; #var healm _F3_ };#if (@heal_counter = 3) { #var heal_target4 %1; #var healm _F4_ };#if (@heal_counter = 4) { #var heal_target5 %1; #var healm _F5_ };#if (@heal_counter = 5) { #var heal_target6 %1; #var healm _F6_ };#if (@heal_counter = 6) { #var heal_target7 %1; #var healm _F7_ };#if (@heal_counter = 7) { #var heal_target8 %1; #var healm _F8_ };#if (@heal_counter = 8) { #var heal_target9 %1; #var healm _F9_ };#if (@heal_counter = 9) { #var heal_target10 %1; #var healm _F10_ };#SUB {%ansi(high,default)%1 needs a heal, %ansi(high,@col)down to @hp percent. %ansi(high,default) @healm ]};#add heal_counter 1} {HealInfo}
#TRIGGER {Group information for } {#var heal_counter 0} {HealInfo} 517
#TRIGGER {(%d)/(%d)*hit* (%d)/(%d)*move*psp* (%w)} {#var hp %1;#var temp 100;#var maxhp %2;#math hp {@temp * @hp};#math hp { @hp / @ maxhp };#var col default;#IF (@hp < 110) {#var col green };#IF (@hp < 50) {#var col yellow };#IF (@hp < 25) {#var col red };#IF (@hp <@percent) {addheal %5}} {HealInfo} 517

#KEY F1 {c 'full heal' @heal_target1} {HealInfo}
#KEY F2 {c 'full heal' @heal_target2} {HealInfo}
#KEY F3 {c 'full heal' @heal_target3} {HealInfo}
#KEY F4 {c 'full heal' @heal_target4} {HealInfo}
#KEY F5 {c 'full heal' @heal_target5} {HealInfo}
#KEY F6 {c 'full heal' @heal_target6} {HealInfo}
#KEY F7 {c 'full heal' @heal_target7} {HealInfo}
#KEY F8 {c 'full heal' @heal_target8} {HealInfo}
#KEY F9 {c 'full heal' @heal_target9} {HealInfo}
#KEY F10 {c 'full heal' @heal_target10} {HealInfo}

#VAR percent {100} {HealInfo}


[This message has been edited by Jegzed (edited 07-28-2001).]
azzixxenae
Sojourner
Posts: 154
Joined: Sat Jan 27, 2001 6:01 am
Location: Warner Robins GA

Postby azzixxenae » Mon Jul 30, 2001 7:02 pm

very nice. And a lot better than:

Jegzed group-says "heal me hammi!"

Jegzed group says "heal me NOW hammi!!"

Jegzed group-says "got ress?" Image

azz
Hamibugan Sinweaver
Sojourner
Posts: 99
Joined: Mon May 14, 2001 5:01 am
Location: Japan

Postby Hamibugan Sinweaver » Mon Jul 30, 2001 9:58 pm

I implemented this and it works wonderfully. However, the last variable drops out everytime I close ZMUD for some reason, shrug. Thanks Jeg.

That doesn't happen too often Azz, everyone knows that repping the dirty little Goblin errr, Duergar means he watches you die. Muahaha

------------------
That is all. Peace.
Hami
Iltavera
Sojourner
Posts: 38
Joined: Sun Nov 11, 2001 6:01 am
Location: N. Providence, RI

Postby Iltavera » Sun Nov 11, 2001 2:46 pm

This works wonderfully... now if I could only GET to level 21, lol. Thanks Jeg!
Iltavera
Sojourner
Posts: 38
Joined: Sun Nov 11, 2001 6:01 am
Location: N. Providence, RI

Postby Iltavera » Mon Nov 12, 2001 12:59 pm

After playing with it some more, I've noticed that once someone's been hurt then healed, the group status still says they need a heal, but they're at 100%. Is there a way to eliminate this once they are healed, so that the cleric can keep an idea of the number of hps each person has, especially if you have some smaller people in the group, and 50% means 100hps left instead of 500hps left? Maybe have it change back to show the normal hps/mvs after they're fully healed. Also, when leading I use the group command to check mvs, it takes those away as well. Just an idea to make this already excellent trigger a tad better.
Umbrog
Sojourner
Posts: 5
Joined: Fri Oct 05, 2001 5:01 am
Location: Rancho Cucamonga, CA, USA
Contact:

Postby Umbrog » Fri Dec 07, 2001 2:18 pm

Mine is pretty simple, it triggers off of the group list and puts the type of heal they need with their name. This could probably go a step further to assign a variable like "target" into the person that needs it.

#TR {%s(%d)/(%d)%shit,%s%d/%d%smove,%s%d/%d%spsp (%w)} {#IF (%2-%1>100) {#SAY Full %3;#VA ftarget %3} {#IF (%2-%1>50) {#SAY Heal %3;#VA htarget %3}}}

#AL ft {cast 'full heal' @ftarget}
#AL ht {cast 'heal' @htarget}

Umbrog
rylan
Sojourner
Posts: 2903
Joined: Fri Jan 26, 2001 6:01 am
Location: Hudson, MA

Postby rylan » Fri Dec 07, 2001 3:41 pm

I don't need no stinkin triggers for healing :P
Rellanor
Sojourner
Posts: 90
Joined: Sun Oct 28, 2001 5:01 am

Postby Rellanor » Sat Dec 08, 2001 5:12 am

You tell them Rylan long live PC Healers
Baikalisan
Sojourner
Posts: 314
Joined: Mon Oct 15, 2001 5:01 am
Contact:

Postby Baikalisan » Sun Dec 09, 2001 1:17 am

I dont use no steenkin triggers either!

does this mean im not effective?

hehe Image
Rellanor
Sojourner
Posts: 90
Joined: Sun Oct 28, 2001 5:01 am

Postby Rellanor » Mon Dec 10, 2001 12:04 am

maybe the triggers are for rangers who decided to play a cleric never know they didn't have a whole lot to do before archery came in.
Gormal
Sojourner
Posts: 3917
Joined: Tue Feb 13, 2001 6:01 am
Location: A Whale's Vagina
Contact:

Postby Gormal » Mon Dec 10, 2001 8:30 am

#alias {#var healtarget %1;cast 'heal' @healtarget;#T+ glance}
#tr {You complete your spell.} {glance @healtarget;#T- glance} {glance}

glances the person you just healed. use the same var for full heal too.
thats for 4.62
Gormal
Sojourner
Posts: 3917
Joined: Tue Feb 13, 2001 6:01 am
Location: A Whale's Vagina
Contact:

Postby Gormal » Mon Dec 10, 2001 8:33 am

btw...colorizing peoples hp doesnt mean someone is less of a healer...some of us are farkin blind.
Gromsharulaz
Sojourner
Posts: 54
Joined: Mon Jan 29, 2001 6:01 am

Postby Gromsharulaz » Tue Dec 11, 2001 7:01 pm

*chuckle* So where does Grom fit in...

I have a trigger that assigns the last person who rep'd to the variable @target, a trigger to assign whoever is tanking for me to @tank and an alias to assign a target1 and target2.
The rest is taken care of by macro keys:
F1 - glance @targ1
F2 - fheal @targ1
F3 - glance @targ2
F4 - fheal @targ2
F5 - fheal @tank
F6 - fheal @target

That takes care of the people I'm supposed to watch, the tank and anyone else who lives long enough to report. If you can't live long enough for a rescue and report you don't deserve a GromHeal(tm) ;p

Gromsharulaz Darkmace, The "apparently not an effective healer" Derro of the Underdark
Ragorn
Sojourner
Posts: 4732
Joined: Mon Jan 29, 2001 6:01 am

Postby Ragorn » Tue Dec 11, 2001 8:41 pm

I guess I'm a minimalist. I just trigged my "group" screen to highlight in yellow anyone who was more than 100 hit points down, and highlight in red anyone who was 300 points down. Heal, full heal.

But then I guess dealing with goodie names is much less trying than typing "ff azzixxenae".

- Ragorn

Return to “MUD Client Help”

Who is online

Users browsing this forum: No registered users and 23 guests