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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
ondrovic
Beginner


Joined: 22 Feb 2002
Posts: 25
Location: USA

PostPosted: Mon Feb 25, 2002 7:38 pm   

display damages in %
 
here is a script that i converted with a some help from TonDiening to display the damages in % enjoy

#TRIGGER {barely clings to life.$} {#SUBSTITUTE {barely clings to life. (1%-7%)}}
#TIRGGER {grimances in pain.$} {#SUBSTITUTE {grimances in pain. (48%-54%)}}
#TRIGGER {has a few scratches.$} {#SUBSTITUTE {has a few scratches. (90%-99%)}}
#TRIGGER {has a nasty looking welt on the forehead.} {#SUBSTITUTE {has a nasty looking welt on the forehead. (83%-89%)}}
#TRIGGER {has many grievous wounds.} {#SUBSTITUTE {has many grievous wounds. (22%-28%)}}
#TRIGGER {has quite a few wounds.} {#SUBSTITUTE {has quite a few wounds. (55%-61%)}}
#TRIGGER {has some large, gaping wounds.} {#SUBSTITUTE {has some large, gaping wounds. (36%-40%)}}
#TIGGER {has some minor wounds.} {#SUBSTITUTE {has some minor wounds. (69%-75%)}}
#TRIGGER {has some nasty wounds and bleeding cuts.} {#SUBSTITUTE {has some nasty wounds and bleeding cuts. (41%-47%)}}
#TIGGER {has some small wounds and bruises.} {#SUBSTITUTE {has some small wounds and bruises. (76%-82%)}}
#TRIGGER {is covered with blood oozing wounds.} {#SUBSTITIUTE {is covered with blood oozing wounds. (15%-21%)}}
#TRIGGER {is in excellent condition.} {#SUBSTITUTE {is in excellent condition. (100%)}}
#TRIGGER {is vomiting blood.} {#SUBSTITUTE {is vomiting blood. (15%-21%)}}
#TRIGGER {looks pretty awful.} {#SUBSTITUTE {looks pretty awful. (29%-35%)}}
#TRIGGER {pales visibly as Death nears.} {#SUBSTITUTE {pales visibly as Death nears. (8%-14%)}}
#TRIGGER {screams in agony.} {#SUBSTITUTE {screams in agony. (22%-28%)}}
#TRIGGER {winces in pain.} {#SUBSTITUTE {winces in pain. (62%-68%)}}


CHRIS ONDROVIC
Reply with quote
Troubadour
GURU


Joined: 14 Oct 2000
Posts: 556
Location: USA

PostPosted: Sat Apr 06, 2002 4:40 pm   
 
Which MUD is this for?

Troubadour
Reply with quote
LoKi128
Newbie


Joined: 12 May 2002
Posts: 0
Location: USA

PostPosted: Fri Apr 12, 2002 2:38 am   
 
I would imagine that this code would work on most muds as long as it is just capturing and replacing text being sent to your screen.

for example you would just replace #TRIGGER {barely clings to life.$} {#SUBSTITUTE {barely clings to life. (1%-7%)}} with

#TRIGGER {the text your mud displays for this level of damage.$} {#SUBSTITUTE {the text your mud displays for this level of damage. (1%-7%)}}

Hope that is right, just that I am guessing it works. I have not tested it. :)
Reply with quote
Trind
Beginner


Joined: 04 Jan 2003
Posts: 12
Location: Sweden

PostPosted: Sun Jan 05, 2003 12:44 am   
 
You hit Kobold with your Talin Mace for 43 Hps damage.

:)
Reply with quote
ondrovic
Beginner


Joined: 22 Feb 2002
Posts: 25
Location: USA

PostPosted: Sat Apr 05, 2003 11:05 am   
 
it was wrote for medievia but it should work for other maybe will have to change some of the subs though

CHRIS ONDROVIC
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts 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