Go Back   EQEmulator Home > EQEmulator Forums > Development > Development: Custom Code

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 11-21-2015, 02:13 AM
Zaela_S
Hill Giant
 
Join Date: Jun 2012
Posts: 216
Default

There isn't any kind of standard, shareable thing to do for this. It's basically just
1) Find the code for the mechanic you want to be affected by a stat
2) Shove a stat check in there with appropriate math to make it scale in the way you want

It's pretty open-ended. And if you have any interest in keeping things balanced, you'd probably want to do little tweaks here and there to offset the new stat effects you add. Unlikely that someone else's code would have it just how you'd like it.


As far as having max HP or mana scale with a stat: the client does its own calculations for the displayed HP and mana values. You can't just change how they are calculated on the server without desynchronizing from the values the client believes it has (unless you do something really hacky like shoving the extra amount onto the packet for an item the client has equipped). Would need to go about it another way, like damage and mana cost reduction.
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 10:41 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