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 04-20-2013, 06:54 PM
Maceblade
Hill Giant
 
Join Date: Jun 2010
Posts: 231
Default

Mario that actually made perfect sense and fixed it! You sir are amazing! Props to you!

Whats weird tho is it only happens after lvl 37, thank you sir!
Reply With Quote
  #2  
Old 04-20-2013, 07:21 PM
Mariomario
Hill Giant
 
Join Date: Jul 2004
Posts: 143
Default

You're welcome. I'm glad I could help.
__________________
Wrath - Lead Admin and Owner of Enlightened Dark: Ascension

Enlightened Dark: Ascension
Reply With Quote
  #3  
Old 04-20-2013, 08:29 PM
AudioGarden21
Sarnak
 
Join Date: Aug 2004
Posts: 80
Default

Clearly this is not an issue with the latest database and executables seeing as I tried to replicate this issue on my server and everything between Vampiric Embrace and Shroud of Discord functioned perfectly for me.

You must be using and older version of the database and executables. For posterity's sake, is this true?
Reply With Quote
  #4  
Old 04-20-2013, 09:56 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Well, this code is still in there:
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]);
	}
}
But the sk only proc spells should be set up to account for it.
Reply With Quote
  #5  
Old 04-21-2013, 03:29 PM
AudioGarden21
Sarnak
 
Join Date: Aug 2004
Posts: 80
Default

Yeah. I just looked at the spell file in JSRE editor and it displays 6101 spell id for Shroud of Discord instead of 6102 for the strike effect. S'pretty strange it's set up this way, or whatever would cause it to require it being set up like this.
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 01:46 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