Help - Search - Members - Calendar
Full Version: Chaos Rays
Achaea's Forums > Everything Achaea > The Matsuhama Arena
flair
I'm looking for something that will echo what my chaosrays have done when I do them. I think ACP used to have something that did this. I tried doing it myself, but I'm not much of a coder, and there are too many combinations for my bearskin and knives approach. Does anyone have the old ACP thing or something? I'd even pay a few (5) credits for it. To be clear, I'm looking for something that echoes back to me what my chaos rays have done--not heal when I'm hit by them. It's just a small thing that would help me keep up in combat.
Sena
Should be pretty easy to make, but I'd need a list of the effects. An example of what chaosrays looks like would also save some time. Found a log of chaosrays, I'd just need to know the effects.
Sena
I think I have the effects right.
CODE
#REGEX "ChaosRays" {^(\w+) is hit by (an?) ([a-z ,]+) ray\.$} {#SUBSTITUTE {%1 is hit by %2 %3 ray. ~(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace("%3","and ",""),"indigo","Stupidity"),"orange","Paralysis"),"violet","Aeon"),"green","Curing"),"yellow","Electrical damage"),"blue","Cold damage"),"red","Fire damage")~)}}

That will change
QUOTE
Tapping into your stores of karma, you transmute a small amount into pure chaos. Seven rays of different coloured light spring out from your outstretched hands, irradiating the location with blinding strobes.
Sena is hit by a yellow, blue, and red ray.

to
QUOTE
Tapping into your stores of karma, you transmute a small amount into pure chaos. Seven rays of different coloured light spring out from your outstretched hands, irradiating the location with blinding strobes.
Sena is hit by a yellow, blue, and red ray. (Electrical damage, Cold damage, Fire damage)

For longer lines, like being hit by three damage rays, that could spill over onto a second line if you have zMUD wrapping the text. It probably won't bother most people, but it looks bad to me, so if you want a shorter one that will always be one line:
CODE
#REGEX "ChaosRays" {^(\w+) is hit by an? ([a-z ,]+) ray\.$} {#SUBSTITUTE {%1 - %replace("%3","and ",""). ~(%replace(%replace(%replace(%replace(%replace(%replace(%replace(%replace("%3","and ",""),"indigo","Stupidity"),"orange","Paralysis"),"violet","Aeon"),"green","Curing"),"yellow","Electrical"),"blue","Cold"),"red","Fire")~)}}

That fits on one line with the longest name I know of, and the longest possible combination of rays.
QUOTE
Ydachikachishiroul - yellow, indigo, orange. (Electrical, Stupidity, Paralysis)
Exelethril
Sena, how do you know so much stuff? blink.gif
Dexodro
how do you know so little?
Trevize
QUOTE (Exelethril @ Jul 4 2009, 02:25 PM) *
Sena, how do you know so much stuff? blink.gif

She's a zMUD ninja, of course.
Sena
QUOTE (Exelethril @ Jul 4 2009, 02:25 PM) *
Sena, how do you know so much stuff? blink.gif

I just like knowing stuff. tongue.gif If you're talking about the chaos rays stuff, I found it all by searching the forums. I learned most of what I know about zMUD scripting from Trevize's scripts, the tech support section of Aetolia's forums, and from Karoma.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.