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

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 03-06-2015, 01:22 PM
noudess
Discordant
 
Join Date: Sep 2012
Location: Upstate NY
Posts: 274
Default Spell Duration Formula 11

I noticed that a few lower level spells using duration formula 11 don't yield the results the GUI expects. For example, minor shielding ends up lasting the full duration of 27 minutes on the server while the GUI sets it to 30 * (level + 3).

Talking in the IRC, demonstar looked something up and said that formula 11 should be exactly that, which makes sense to me.

However, duration formula 11 on the server just returns duration - explaining why it comes back max value.

I changes the server code to for spell duration 11 to:

return std::min((level+3) * 30,duration)

and I like the results.

However, this formual is used by a ton of spells. Do you guys want this fix, or is the server code there for other issues? I didn't want to put out a pull request without getting further input.
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 10:34 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3