Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-01-2013, 06:18 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Yes, it appears so:

Code:
	if
(
IsEffectInSpell(spell_id, SE_Root) ||
IsEffectInSpell(spell_id, SE_MovementSpeed)
)
{
if(SpecAttacks[UNSNAREABLE]) {
mlog(SPELLS__RESISTS, "We are immune to Snare spells.");
caster->Message_StringID(MT_Shout, IMMUNE_MOVEMENT);
int32 aggro = CheckAggroAmount(spell_id);
if(aggro > 0) {
AddToHateList(caster, aggro);
} else {
AddToHateList(caster, 1);
}
return true;
}
}
I wouldn't be surprised if this same issue applies to other special attacks as well.

I think the easiest fix would be to add an IsDetrimentalSpell(spell_id) check in SpellOnTarget() before the IsImmuneToSpell() check here in spells.cpp:

Code:
	// check immunities
	if(spelltar->IsImmuneToSpell(spell_id, this))
	{
		//the above call does the message to the client if needed
		mlog(SPELLS__RESISTS, "Spell %d can't take hold due to immunity %s -> %s", spell_id, GetName(), spelltar->GetName());
		safe_delete(action_packet);
		return false;
	}
Maybe I am missing something though, but this is my best guess for the cause of the NPC vs NPC attacking issue.

Not really sure why this seems to be a new issue all of the sudden. I am not aware of any recent changes to how this works offhand, but I didn't really look into it much.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #2  
Old 03-01-2013, 06:27 AM
Zia
Fire Beetle
 
Join Date: Dec 2010
Posts: 21
Default

Quote:
Originally Posted by trevius View Post
Not really sure why this seems to be a new issue all of the sudden. I am not aware of any recent changes to how this works offhand, but I didn't really look into it much.
It is not new; it has been around for months. I first noticed it last november or so.
Reply With Quote
  #3  
Old 03-01-2013, 06:44 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Ding ding ding! We have a winner! Sorvani, please step up and take your prize

http://code.google.com/p/projecteqem...one/spells.cpp
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
Reply

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 10:25 PM.


 

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