Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 04-11-2021, 09:15 AM
magicfest2 magicfest2 is offline
Aviak


Join Date: Jan 2015
Posts: 50
Default

Pacify was typo'd as 7, should actually be *70*, that's correct. The duration formula is ... not always obvious, as it differs per spell. This is fixed in my fork. I put a PR up yesterday that includes that fix, among a few other features -- though not sure if nomns/Mirox is still working on this, or if patches to the 0.5.x line are still accepted.

For more on the duration calculation:

Here you can see that column 17 (they are zero-indexed, so 16+1) is the "duration formula", and column 18 (17+1) is the duration: https://github.com/nomns/nparse/blob...s.py#L461-L463
Then, just below that here, you can see how the different formulas affect the calculation: https://github.com/nomns/nparse/blob...s.py#L480-L535

Since Pacify is formula 8, the `duration` column is really just acting as a "max ticks", so the actual duration is `min(level + 10, duration)`. At level 60 that's `min(70, 70)`, which makes sense.
Last edited by magicfest2; 04-11-2021 at 09:31 AM..
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 06:54 AM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.