Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 10-14-2012, 05:43 AM
jsr
Hill Giant
 
Join Date: Aug 2008
Location: melbourne
Posts: 187
Default

Might not need it now, but this type of query might help you.

Code:
update
zone
inner join spawn2 on zone.short_name = spawn2.zone
inner join spawngroup on spawn2.spawngroupID = spawngroup.id
inner join spawnentry on spawngroup.id = spawnentry.spawngroupID
inner join npc_types on spawnentry.npcID = npc_types.id
inner join npc_stats_template on npc_types.level = npc_stats_template.level

set
npc_types.ac = npc_stats_template.ac,
npc_types.hp = npc_stats_template.hp,
npc_types.mindmg = npc_stats_template.mindmg,
npc_types.maxdmg = npc_stats_template.maxdmg

where zone.short_name = [$zone]
and npc_types.lastname <> "Mini Boss"
and npc_types.lastname <> "Boss"
It works on the principle that you setup a table (npc_stats_template) containing key stats for each mob level, and identify bosses and minibosses in the npc_types table using npc_types.lastname.

Then when balancing mob stats you can update the npc_stats_template table for the levels you want, and rebalance mobs across 1 or more zones with one query.
Reply With Quote
 


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 01:44 AM.


 

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