Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-09-2009, 09:00 PM
robert19's Avatar
robert19
Fire Beetle
 
Join Date: Feb 2005
Posts: 21
Default how do I edit npc dmg with mysql pls?

as the title above states how can I mass edit npcs min and max dmg using mysql based off their level? thanks for any help in advance.
Reply With Quote
  #2  
Old 09-09-2009, 10:25 PM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,475
Default

There's plenty of examples about this

http://www.eqemulator.net/forums/sho...ypes+level+sql


GeorgeS
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
Reply With Quote
  #3  
Old 09-11-2009, 07:08 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

UPDATE npc_types SET min_damage = min_damage * 1.5 WHERE min_damage > 0
UPDATE npc_types SET max_damage = max_damage * 1.5 WHERE max_damage > 0

that will increase min and max damage by 1.5 (50%) for all records in npc_types

obviously you can modify that to your desires
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #4  
Old 09-11-2009, 09:55 PM
robert19's Avatar
robert19
Fire Beetle
 
Join Date: Feb 2005
Posts: 21
Default

thanks for the help, this is exactly what I was looking for!
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 11:35 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