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-17-2013, 02:53 AM
Burningsoul
Banned
 
Join Date: Oct 2009
Posts: 312
Default

Regardless, thanks a ton Audiogarden. Concise and to the point, hats off sir.
Reply With Quote
  #2  
Old 04-17-2013, 03:45 AM
AudioGarden21
Sarnak
 
Join Date: Aug 2004
Posts: 80
Default

Quote:
Originally Posted by lerxst2112 View Post
If I was going to do it like that I'd build a batch of queries based on specific effect ids for each of the possible slots. As an example, you might want direct damage spells to be stronger but not change slows.
Yeah.. it's late, hehe. After I read over your post, it dawned on me that other effects would get doubled which you certainly would not want. You'd definitely want to limit your queries to the proper effect id, else you'll double things like slows, and such, as lerxst2112 mentioned. In any case, I don't have too much experience using that sort of code (though I do understand it) since I just search through things manually and adjust accordingly, so you'd probably want to take lerxst's advice over mine. =)

Quote:
Originally Posted by Burningsoul View Post
Regardless, thanks a ton Audiogarden. Concise and to the point, hats off sir.
You sir, are welcome. =)
Reply With Quote
  #3  
Old 04-18-2013, 06:39 PM
Maceblade
Hill Giant
 
Join Date: Jun 2010
Posts: 231
Default

I ended up doing the command shortly after just to test it out, and it appears slows use slot 2 which is also value2... also another key note for anyone attempting that, you also have to raise the "max1" column as well. That is actually a positive number already so in order to correctly apply that to damage only spells you just have to add "where value1 < 0" otherwise it will increase buffs heals and other shit.

Stuns however use value2 for damage and value1 for stun duration, I left that field alone bc i didnt want to mess with slows.

the exact command I used was;

Code:
 UPDATE spells_new set effect_base_value1 = effect_base_value1 * 2 WHERE effect_base_value1 < 0 and classes1 < 254;
and
Code:
 UPDATE spells_new set max1 = max1 * 2 WHERE effect_base_value1 <0 and classes1 < 254;
Everytime I just swapped out the number after classes until all 16 were done so then it didnt effect all damage type spells. So far it seems to have taken and I havent noticed anything stupid going on.

*edit* One thing more I forgot to mention, this only increases direct damage type spells. Lifetaps, nukes and stuff like that. DoT's are not effected with the exception of the initial damage, they DoT portion is also a slot/value2 and like I said i didnt want to mess with it.
Reply With Quote
  #4  
Old 04-20-2013, 10:22 AM
jsr
Hill Giant
 
Join Date: Aug 2008
Location: melbourne
Posts: 187
Default

The spell table isn't designed with effect__base_value_# being linked to a spell effect. There are hundreds of effects but only 12 slots.

Warriors using defensive discs will certainly appreciate your update

You want something more like this (not tested);
Code:
UPDATE spells_new 
set effect_base_value1 = effect_base_value1 * 2, 
max1 = max1 * 2 
WHERE 
effect_base_value1 < 0 and 
effectid1 = [Spell ID to modify] and
(classes1 < 254 or classes2 < 254 or classes3 < 254 or classes4..(etc)....or classes16 <254);
Repeat for each of the 12 slots. Note that putting [spell id to modify] in the query will prompt you to specify a value to match against effectid1. In your case you'd enter the value for DD spells.
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 05:03 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