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

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

Reply
 
Thread Tools Display Modes
  #16  
Old 05-06-2011, 05:19 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Quote:
Originally Posted by sorvani View Post
SQL i know, it's the C++ i am learning, but I was just hoping I wouldn't have to type it all out for all the classes if you had done it and saved it already.

The above reads "I was being lazy"
LOL, it would take you the same amount of time or less using the SQL he provided and the class list link I provided as it took you to type that reply :P
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #17  
Old 05-06-2011, 01:37 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 966
Default

Code:
-- update all NPC Spell casting classes that are missing a default spell id
-- Cleric
update npc_types set npc_spells_id=1 where (class=2 or class=21) and npc_spells_id=0;
-- Paladin
update npc_types set npc_spells_id=8 where (class=3 or class=22) and npc_spells_id=0;
-- Ranger
update npc_types set npc_spells_id=10 where (class=4 or class=23) and npc_spells_id=0;
-- Shadow Knight
update npc_types set npc_spells_id=9 where (class=5 or class=24) and npc_spells_id=0;
-- Druid
update npc_types set npc_spells_id=7 where (class=6 or class=25) and npc_spells_id=0;
-- Bard
update npc_types set npc_spells_id=11 where (class=8 or class=27) and npc_spells_id=0;
-- Shaman
update npc_types set npc_spells_id=6 where (class=10 or class=29) and npc_spells_id=0;
-- Necromancer
update npc_types set npc_spells_id=3 where (class=11 or class=30) and npc_spells_id=0;
-- Wizard
update npc_types set npc_spells_id=2 where (class=12 or class=31) and npc_spells_id=0;
-- Magician
update npc_types set npc_spells_id=4 where (class=13 or class=32) and npc_spells_id=0;
-- Enchanter
update npc_types set npc_spells_id=5 where (class=14 or class=33) and npc_spells_id=0;
-- Beatlord
update npc_types set npc_spells_id=12 where (class=15 or class=34) and npc_spells_id=0;
Code:
-- Cleric Affected rows: 679
-- Paladin Affected rows: 321
-- Ranger Affected rows: 133
-- Shadow Knight Affected rows: 483
-- Druid Affected rows: 361
-- Bard Affected rows: 107
-- Shaman Affected rows: 636
-- Necromancer Affected rows: 416
-- Wizard Affected rows: 585
-- Magician Affected rows: 192
-- Enchanter Affected rows: 256
-- Beatlord Affected rows: 34
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:26 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3