PDA

View Full Version : Enraged, Flurry and Rampage Spamming Fix


trevius
09-21-2008, 07:53 PM
I have noticed this for a while, but it seems like the enraged, flurry and rampage messages are such a wide range message that they spam most of the zone. After a quick look, I found that in MobAI.cpp, they are all set to a range of 600. I think that could safely be lowered to 200 and probably even 150 or 100. They are definitely way to big of a range at 600.

Change 600 to 200 or something in all of the cases below:

MobAI.cpp
entity_list.MessageClose(this, true, 600, 13, "%s has become ENRAGED.", GetCleanName());

entity_list.MessageClose(this, true, 600, 13, "%s is no longer enraged.", GetCleanName());

entity_list.MessageClose(this, true, 600, 13, "%s executes a FLURRY of attacks on %s!", GetCleanName(), target->GetCleanName());

entity_list.MessageClose(this, true, 600, 13, "%s goes on a RAMPAGE!", GetCleanName());

BTW, KLS, let me know if I am stickying too much junk and I will just let you handle it instead. I am just stickying the stuff that I think looks like valid code changes/fixes/additions and that has been tested.