Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Feature Requests

Development::Feature Requests Post suggestions/feature requests here.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-01-2009, 09:09 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Some stuff like min/max dmg scale to a formula already if they are 0. It would just mean adding onto that formula (I think it's in npc.cpp) to include stats based off of level, and maybe add some rules for scaling? Set the stats for level 1 in the database and calculate it off of npclevel and the formula. That would save almost anyone a lot of time filling in the annoying NPC_Types table when creating new custom content.

It would be pretty trivial to do, and if no one else does it I will. All it takes is just changing a few things, adding a field here and there..
Reply With Quote
  #2  
Old 08-01-2009, 10:11 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

I added this to my local test server and it works fine. I had to add a default value for stats, though. Other than that, the NPC's level gets modified in real-time if you put all the stats, damage, etc, at 0. That way no existing NPCs get messed up. It also will fix NPCs that have stuff such as 0 str and set it accordingly. I'll post the diff in code submissions.
Reply With Quote
  #3  
Old 08-05-2009, 03:56 PM
jenco420
Banned
 
Join Date: Jan 2006
Location: /dev/null
Posts: 99
Default

Thanks secrets! this will make my job a whole lot easier! kudos!
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:35 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