EdenServer / community

35 stars 16 forks source link

Items / Healing Breath / UI miscalculating HP percentages #2046

Open tdburley opened 5 years ago

tdburley commented 5 years ago

Checklist

Details

Healing Breaths have been consistently triggering at slightly lower thresholds than my math predicted, so I finally sat down and tested exactly what was going on (and a few other similar things in the meantime). 

Performed all tests as Galka 74DRG/37BRD (hybrid Wyvern) using various equipment setups to always achieve exactly 1500 max HP. Tested on 8/31/19 at 10AM PST (sorry, I don't know the version number for that date). Here are the results:

Healing Breath III (without Drachen Armet) -Expected to trigger under 25% HP (under 375) -Actually triggering under 24.07% HP (under 361) Healing Breath III (with Drachen Armet) -Expected to trigger under 33% HP (under 495) -Actually triggering under 32.07% HP (under 481) Red HP display -Expected to trigger under 25% HP (under 375) -Actually triggering under 24.07% HP (under 361) Orange HP display -Expected to trigger under 50% HP (under 750) -Actually triggering under 49.07% HP (under 736) Yellow HP display -Expected to trigger under 75% HP (under 1125) -Actually triggering under 74.07% HP (under 1110) Carapace Helm (Latent effect adds Defense and attack) -Expected to trigger under 50% HP (under 750) -Actually triggering under 46.67% HP (under 700) Carapace Gauntlets (Latent effect adds Defense and attack) -Expected to trigger under 75% HP (under 1125) -Actually triggering under 70% HP (under 1050)

For the Breaths and HP display it appears the game is simply skipping down a percentage point and accepting everything there and below (ignoring 24.01-24.99%, for example). Admittedly, I don't know firsthand if that's era accurate or not, but all my research indicates these thresholds should be exactly less than or equal to 25% / 33%, etc.

The Carapace armors, however, are both several points off which is definitely wrong.

https://ffxiclopedia.fandom.com/wiki/Healing_Breath?oldid=229217 https://ffxiclopedia.fandom.com/wiki/Carapace_Helm?oldid=303381 https://ffxiclopedia.fandom.com/wiki/Carapace_Gauntlets?oldid=252517

Thank you!

tengokujin commented 4 years ago

As a player that often went soloing on my own in retail, I can confirm that the threshold should be at the exact percentage, and not a point below as demonstrated above. I'm posting a screenshot to merely confirm the issue is as OP presents it, i.e., Healing Breath is not triggering at just below the threshold, but rather much less than that. Tengokujin_2019 12 03_183937

rude-jerk commented 3 years ago

According to the wiki healing breath triggers when HPP is below the HPP threshold listed.

The HPP check in FFXI rounds up to the next whole integer.

Setting my total HP to 9999 the wyvern uses Healing Breath III at exactly 2399 HP, which is the same value the client displays "critical HP" - red health (23.992% HP) and will not use it at 2400 HP (24.002% HP). image image

Based on this information I'd say this is intended functionality. This would require a retail test to confirm. Unfortunately, healing breaths on retail have been changed rather significantly - but this should still be testable.