GW2Raidar / gw2raidar

A log parsing website for Guild Wars 2 combat logs
http://www.gw2raidar.com
GNU General Public License v3.0
20 stars 14 forks source link

Add minimum boss health requirement for success #336 #337

Closed VoidWhisperer closed 5 years ago

VoidWhisperer commented 5 years ago

This attempts to add a way to verify that the boss was at some minimum amount of health at some point in the fight. The first example of this (included in this pull request) would be verifying that there is some health update for Mursaat Overseer that states that it was at 95% or higher at some point.

95% for Mursaat Overseer was chosen because the normal version has a max health of 22,021,400, and 95% of that is 20,920,330. It's very unlikely that over 1 million health is going to be missing unless the boss was broken.

Previous outcome of uploading a glitched log file (say, MO starting at 33%): It would accept the log file and the log would show up on the leaderboard Expected outcome of uploading a glitched log file (same as above): It should reject the log file because the boss wasn't anywhere near full health when the fight started.

Issue: https://github.com/GW2Raidar/gw2raidar/issues/336