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-07-2012, 02:02 PM
oslander
Sarnak
 
Join Date: Aug 2010
Posts: 33
Default Pet buff which AOE weapon procs not working.

Hi there,

I am having trouble getting a custom spell to work properly. What happens is when I buff the pet he's supposed to unleash an AOE proc while he fights. I've tried AEcaster, AEtarget, Group and everything else and the pet will not whatever I do hit all of the enemies around him with the spell. The spell is also set as an AOE and I've even tried the exact same spell through a #castspell xxxx and it hits everything when the player character does it.


Any ideas how to help with this?
Reply With Quote
  #2  
Old 04-24-2012, 08:45 PM
Hateborne
Hill Giant
 
Join Date: May 2010
Posts: 125
Default

Nearly a month late, but throwing it out there.

First and foremost, do you have Pet Affinity? From my understanding, this can have an effect on proc'ing. :-P

What values are you using for weapon proc? What value are you using for targettype on the spell?

Let's say spell is "PetAoE1" and ID is 500. PetAoE1 is the buff that adds the WeaponProc (effectid1 85).

Let's assume "PetAoE1 Trigger" is the actual AoE and it's ID is 501. The targettype of this needs to be 4.

The relevant DB info for PetAoE1:
Code:
effectid1 = 85
effect_base_value1 = 501
max1 = 0
effect_limit_value1 = 0
The above will set PetAoE1 with WeaponProc as the effect, spell 501 (PetAoE1 Trigger) as the proc, with default proc rate.


The relevant DB info for PetAoE1 Trigger:
Code:
effectid1 = 0
effect_base_value1 = 100
aoerange = 35
targettype = 4
The above will set PetAoE1 Trigger to do 100 damage to all within 35 feet/yards/meters/cups-of-sugar.

-Hate
Reply With Quote
  #3  
Old 04-28-2012, 08:51 PM
Hateborne
Hill Giant
 
Join Date: May 2010
Posts: 125
Default Massive Issues with WeaponProc now too :-(

My WeaponProc is calling all kinds of random effects. It is set to WeaponProc 10220 with 400 limit value (ppm?). It procs 10267 instead? I set it to 9836, 6667, or 6101...it procs spell 10221 (which has procs 10223, etc etc).

What have I done? :-(

-Hate
Reply With Quote
  #4  
Old 04-28-2012, 09:06 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

I assume you mean you're using SE_WeaponProc (85).

The way the proc to add is calculated can be seen here:
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]);
	}
}
So, whichever effect slot the 85 is in it appears you want the proc spell id in the corresponding base slot, and if it's a SK only spell you want to subtract 1 from the value.

Not sure why it would add more than one proc or vary the number chosen though. Seems like something you would want to debug to see where it's going wrong.
Reply With Quote
  #5  
Old 04-29-2012, 02:27 PM
Hateborne
Hill Giant
 
Join Date: May 2010
Posts: 125
Thumbs up

You Sir...are my hero.

That was it. I have 3 ranks of the spell, and 3 ranks of the strike effect.

Each rank was proc'ing the next rank. The final rank was proc'ing a wizard spell.

Thank you again so much.

-Hate
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 07:25 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