Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-30-2014, 08:09 PM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Pretty sure case 2: should be this.... (going from what is posted on Lucy for spells that have that formula ID)


Code:
i = (int)ceil(level * 0.6f);
return i < duration ? (i < 1 ? 1 : i) : duration;

http://lucy.allakhazam.com/spell.htm...42&source=Live


At level 1 -- it returns 1 tick
at level 65 it returns 39 ticks (or MAX duration)


formula works with this spell too ... so it seems to be right on

http://lucy.allakhazam.com/spell.htm...97&source=Live
Reply With Quote
  #2  
Old 05-30-2014, 08:22 PM
drmario
Fire Beetle
 
Join Date: May 2014
Posts: 4
Default

Quote:
Originally Posted by NatedogEZ View Post
Pretty sure case 2: should be this.... (going from what is posted on Lucy for spells that have that formula ID)


Code:
i = (int)ceil(level * 0.6f);
return i < duration ? (i < 1 ? 1 : i) : duration;

http://lucy.allakhazam.com/spell.htm...42&source=Live


At level 1 -- it returns 1 tick
at level 65 it returns 39 ticks (or MAX duration)

Works for me. Thanks again!
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 02:25 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3