Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
healunter
Beginner


Joined: 07 Jan 2007
Posts: 17

PostPosted: Sun Jan 07, 2007 6:52 am   

Healer help
 
I need help with a healing script and a status window for the familliar window.

I have the MXP turned on.

This is what i have so far:

#CLASS {heal}
#TRIGGER {You collapse from fatigue} {sit}
#TRIGGER {YOU HAVE BEEN IDLE TOO LONG. PLEASE RESPOND.} {
Exp
power heal
}
#TRIGGER {You touch (%w)~.} {#variable patient %1}
#TRIGGER {You lay your hand on (%w)} {#var patient %1}
#TRIGGER {Wounds to the (*)~:} {
#wait 900
take @patient %1
#wait 900
take @patient %1 int
#wait 900
take @patient %1 scar
#wait 900
take @patient %1 int scar
#wait 900
}
#TRIGGER {lying down} {sit}
#TRIGGER {The bandages binding your (*) soak through} {tend my %1}
#TRIGGER {^(%w) leans on you} {touch %1}
#BUTTON 2 {@patient} {Touch @patient} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} "" {} {} {}
#CLASS 0
Reply with quote
healunter
Beginner


Joined: 07 Jan 2007
Posts: 17

PostPosted: Sun Jan 07, 2007 7:29 am   
 
I need a way to take the fresh first, then go back for scars when I hit the button.
Also need this scripts done up, running when i'm not taking wounds until i'm whole again, healing inside leaking first and also need tending start.

debug off
################
# CODE BEGIN #
################
echo -------------------------------------------
echo
echo You must have a Cambrinth %cambrinth in your hand
echo
echo -------------------------------------------

ResetScript:
setvariable spell hw
setvariable mana 14
counter set 0
setvariable cmana 2
put rem %cambrinth1
put get %cambrinth1

TopOfScript:
pause 1
put exp m
match checkmana EXP help
matchwait

manapause:
echo ++++++++++++++++++++++++++++++++++++++++++++++++++
echo
echo Pausing for a moment while your mind takes a break
echo
echo ++++++++++++++++++++++++++++++++++++++++++++++++++
put hide
goto checkmana

EndOfScript:
pause
put put %cambrinth1 in my apron
pause
put stow left
pause
put stow right
pause
put hide
echo
echo ._____________________________________________________________
echo /
echo |
Echo | FINISHED!
echo \_____________________________________________________________
exit

pause 2
goto endofscript2

CheckMana:
pause
match prepare good attunement
match prepare high attunement
match prepare complete attunement
match prepare You feel fully attuned to the mana streams again.
put mana
put perc heal
matchwait

Charge:
pause
put charge my %cambrinth1 %cmana
match moremana can not harness
match moremana cannot harness
match focus all of the energy
match focus part of the energy
match focus holding
match focus about half
match focus most of
match charge ...wait
match charge fail
matchwait

focus:
pause
put focus my %cambrinth1
match focus ...wait
match focus fail
matchre cast /(link to|a link)/
matchwait

prepare:
pause
put prepare %spell %mana
matchre charge /(gather|already)/
match prepare wait
matchwait

power:
pause
put perc heal
match cast roundtime
match cast not ready to do that again
match cast fail to sense anything
match power wait
matchwait
release:
setvariable spell iwh
setvariable mana 15
put release
put release
goto prepare

cast:
pause
match release can't heal
match %spell completely healed of all internal
match %spell completely free of all internal
match %spell cannot fix
match %spell Your nerves feel completely healed of all internal injury.
match %spell Your nerves are completely free of internal scarring.
match %spell all internal injury
match %spell all internal scarring
match %spell not broken
match %spell not damaged
match hner You can't heal the nervous system with this spell
match moremana ineffective
match prepare backfires
match prepare improved
match prepare better
match prepare fails
match prepare You don't have a spell prepared!
match cast wait
match manapause You are unable to harness sufficient energy to cast the spell.
put cast %target
matchwait

moremana:
setvariable temp %c
counter set %cmana
counter add 1
setvariable cmana %c
counter set temp
deletevariable temp
goto prepare

Wound:
pause
matchre HNER /(slight numbness in your fingers and toes|some minor twitching)/
matchre HNER /(severe twitching|difficulty controlling actions)/
match HH head
matchre HNER /(entire body|numbness in your fingers and toes)/
match hc chest
match hra right arm
match neck neck
match hb back
matchre ha /(abdomen|emaciated look)/
match HRA right arm
match HLA left arm
match HRL right leg
match HLL left leg
match HRH right hand
match HLH left hand
match HLE left eye
match hRE right eye
match skin rash
match skin skin
match endofscript roundtime
put heal
put power
matchwait

EndOfScript2:
put EXP
pause 30
goto EndOfScript2

Skin:
setvariable spell ewh
setvariable mana 4
setvariable cmana 2
setvariable target skin
goto prepare

HRA:
setvariable target right arm
goto prepare

neck:
setvariable target neck
goto prepare

HLA:
setvariable target left arm
goto prepare

HRL:
setvariable target right leg
goto prepare

HLL:
setvariable target left leg
goto prepare

HRH:
setvariable target right hand
goto prepare

HLH:
setvariable target left hand
goto prepare

HH:
setvariable target head
goto prepare

HRE:
setvariable target right eye
goto prepare

HLE:
setvariable target left eye
goto prepare

HN:
setvariable target neck
goto prepare

HC:
setvariable target chest
goto prepare

HA:
setvariable target abdomen
goto prepare

HB:
setvariable target back
goto prepare

HNER:
setvariable spell iwh
setvariable mana 6
setvariable cmana 2
setvariable target nerve
goto prepare

iwh:
setvariable spell ish
setvariable mana 6
setvariable cmana 2
goto prepare

ewh:
setvariable spell esh
setvariable mana 11
setvariable cmana 2
goto prepare

hs:
setvariable spell hw
setvariable mana 11
setvariable cmana 2
goto wound

hw:
setvariable spell hs
setvariable mana 14
setvariable cmana 2
goto prepare

ISH:
setvariable spell hw
setvariable mana 14
goto wound

esh:
setvariable spell hw
setvariable mana 14
goto wound

################
# CODE END #
################
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net