Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:48 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3