[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 2067: Undefined array key "author"
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 2067: Undefined array key "author"
http://www.shatteredisles.com • Mudlet: highlighter questions
Page 1 of 1

Mudlet: highlighter questions

Posted: Sun Nov 30, 2014 3:39 am
by
So i can not for the life of me figure out how to highlight battle damage. For example:

A drunk sasquatch swings a flaming rubber-chicken at you.
The attack is a glancing blow (33).

All i want to do is change the color of the (33) but i don't know how to use Regex to capture parentheses.

I know i wont get hit for the same damage every time which is why i thought using a capture group like (.+) would work best. but I can't figure out how to assign a color to a specific matches[] group.

I don't want anything but the damage/numbers highlighted.

Can anyone help?

Re: Mudlet: highlighter questions

Posted: Sun Nov 30, 2014 10:34 am
by
Hmm I don't know how to highlight JUST the numbers, but with "colorset" I change the color of all incoming attacks and all of my attacks so that combat doesn't look like a giant scroll. I set my attacks to "light cyan" and incoming attacks to "light red" and I've found that makes it much easier to follow a fight.

I'd also STRONGLY recommend that you download and use the custom Mudlet interface posted in these forums. Youll get health/ftg bars, skill window, target window, arrival/tell window, compass, and a group window. I dont think id enjoy the game half as much without this interface.