Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-18-2007, 12:29 PM
Foins
Fire Beetle
 
Join Date: Sep 2006
Posts: 21
Default Sql Query to change resists

Could some SQL GURU please write a query to change all resists for npc's of a given lvl and under.
like change all mobs lvl 50 and under to 50 to each resist for instance
__________________
Eclipse - Owner - Sysop - Developer
Home the Come and Play Server
http://CandPserver.com
Reply With Quote
  #2  
Old 11-18-2007, 01:02 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Quote:
Originally Posted by Foins View Post
Could some SQL GURU please write a query to change all resists for npc's of a given lvl and under.
like change all mobs lvl 50 and under to 50 to each resist for instance
I think this should do what you want:

update npc_types set CR = 50, PR = 50, DR =50 , MR = 50, FR = 50 where level <= 50 ;

Backup your Database before you try it
Reply With Quote
  #3  
Old 11-19-2007, 12:45 PM
Foins
Fire Beetle
 
Join Date: Sep 2006
Posts: 21
Default

many thanks
__________________
Eclipse - Owner - Sysop - Developer
Home the Come and Play Server
http://CandPserver.com
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 08:59 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