View Single Post
  #1  
Old 10-15-2008, 05:46 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default Possible Flurry Discipline Fix

Maybe it is just my spell file, I don't know for sure without checking the default spell file from Titanium, but currently the level 22 Warrior Discipline, Flurry, is able to be "cast" on anyone even if it can't hit them. Anything that can be targeted will let you attempt to use Flurry on it, including yourself, other players, corpses and maybe more. It won't actually hit other players or corpses, but it can hit yourself.

I think the addition of case SE_Flurry as shown below should resolve this, but I haven't tested it yet. I am only posting it here to see if anyone has any further thoughts on this before I give it a try.

In spell_effects.cpp add this (I don't know if it needs to be in a particular order):

Code:
			case SE_Flurry:
			{
#ifdef SPELL_EFFECT_SPAM
				snprintf(effect_desc, _EDLEN, "Flurry");
#endif

				if (IsClient() && caster->IsClient())
				{
					caster->Message(0, "You cannot flurry a player.");
					break;
				} else if(IsCorpse()) {
					caster->Message(0, "You cannot flurry a corpse.");
					break;
				} else if(IsPet() && GetOwner()->IsClient()) {
					caster->Message(0, "You cannot flurry a player's pet.");
					break;
				}
			}
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote