EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   General::General Discussion (https://www.eqemulator.org/forums/forumdisplay.php?f=586)
-   -   Sql Query to change resists (https://www.eqemulator.org/forums/showthread.php?t=23899)

Foins 11-18-2007 12:29 PM

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

Derision 11-18-2007 01:02 PM

Quote:

Originally Posted by Foins (Post 140444)
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 :)

Foins 11-19-2007 12:45 PM

many thanks


All times are GMT -4. The time now is 12:17 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.