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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
harley
Apprentice


Joined: 05 Apr 2008
Posts: 121

PostPosted: Wed Sep 17, 2008 1:14 am   

Help with a trigger :)
 
Well, what i'm wanting to do is turn
Quote:

You stretch out your weapon and begin to spin violently!
Your spiralling force <-==-><-==-> SHATTERS <-==-><-==-> a griffon child! [308]
Your spiralling force <*><*><*><*> ANNIHILATES <*><*><*><*> a griffon child! [257]
Your spiralling force <->*<=> WASTES <=>*<-> a griffon child! [207]
Your spiralling force <*><*><*> EVAPORATES <*><*><*> a griffon child! [175]
Your spiralling force <>*<> FISSURES <>*<> a griffon child! [151]
Your spiralling force <-:-> ASPHYXIATES <-:-> a griffon child! [132]
Your spiralling force -=- VAPORIZES -=- a griffon child! [113]

Into
Quote:
Your spiralling force <-==-><-==-> SHATTERS <-==-><-==-> a griffon child! [999]

or something like that, basically adding up all the damage and put it into 1 line.. so its less spammy.
I cant figure this out for the life of me.. Spent hours on it, and all i can come up with is gag it all and thats it :( while capturing the damage..
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4690
Location: Pensacola, FL, USA

PostPosted: Wed Sep 17, 2008 3:00 am   
 
Usually you have a prompt at the end od a block of text like that
Tie into it so you can to a #SAY with the total damage
_________________
Discord: Shalimarwildcat
Reply with quote
Toxic
Adept


Joined: 27 May 2008
Posts: 299

PostPosted: Wed Sep 17, 2008 1:54 pm   
 
Code:

#TR {^You stretch out your weapon and begin to spin violently!} {#gag;dmgmsg = %null;dmgtotal = 0}
#COND {^$} {#ECHO @dmgmsg ~[@damtotal~]} {within|param=11}
#TR {^(Your spiralling force * {a|an} *!) ~[(%d)~]} {#ADD dmgtotal %2;#IF !@dmgmsg {dmgmsg = %1};#GAG}


This should work, untested tho since I dont have spiral on my thief yet. Also this wont work if you have compact on in game.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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