Go Back   EQEmulator Home > EQEmulator Forums > Support > Spell Support

Spell Support Broken Spells? Want them Fixed? Request it here.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-25-2014, 05:06 AM
Esildor
Hill Giant
 
Join Date: Feb 2010
Posts: 207
Default 85: Contact Ability

Hola,

Not sure if this is an isolated issue, or just the way it works .. but figured I'd ask/point it out.

Seems on spells, a spell effect of '85: Contact Ability' the spell you want it to proc you have to put the spell ID - 1(minus 1, i.e. if spell I want it to proc is 9000 I'd put 8999), struggled with this for awhile and couldn't figure out for the life of me why I couldn't get it to work.

Finally started looking at similar spells and noticed that all the other shadowknight shroud spells use the spell ID - 1 and it works correctly in game.

Any reasoning for this? Is this issue isolated to me?
Reply With Quote
  #2  
Old 07-25-2014, 12:07 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

Sometimes SoE's reasoning is easy to figure out, sometimes its not.
Reply With Quote
  #3  
Old 07-25-2014, 01:45 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Gotta love procs for Shadowknights.

Code:
//for some stupid reason SK procs return theirs one base off...
uint16 Mob::GetProcID(uint16 spell_id, uint8 effect_index)
{
	bool sk = false;
	bool other = false;
	for(int x = 0; x < 16; x++)
	{
		if(x == 4)
		{
			if(spells[spell_id].classes[4] < 255)
				sk = true;
		}
		else
		{
			if(spells[spell_id].classes[x] < 255)
				other = true;
		}
	}

	if(sk && !other)
	{
		return(spells[spell_id].base[effect_index] + 1);
	}
	else
	{
		return(spells[spell_id].base[effect_index]);
	}
}
Seems like you could work around it by setting another class to something like 254. They wouldn't be able to use the spell, but it would skip the +1 nonsense since it doesn't happen for mixed class spells.
Reply With Quote
  #4  
Old 07-25-2014, 02:24 PM
Esildor
Hill Giant
 
Join Date: Feb 2010
Posts: 207
Default

Lol, I was mostly wondering if it's something borked on my end.

That's funny though, weird!

Well, now I know - and others can search for this easily too and know!
Reply With Quote
Reply


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 12:40 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3