lefnire/habitrpg — pull request #604 by MrConcept (2013-03-06 17:13:46+00:00)
Title: New Algorithms + fixes

Properly fixed the algorithms now, this is after discussions with @Pandoro and @lefnire. The TNL and OHV algorithms are set for level 1 -> level 100 ~ 400 days @ 150 XP per day (10 normal tasks). Standard tasks are worth 15xp, standard HP loss is -2.

The database will need normalising before merging this, there won't be any drastic effects from low task values, but the tasks won't properly normalise as the deltas will be too small.

@lefnire I've removed the .pass(silent:true) stuff for suppressing negative XP notifications, I couldn't get it working at all, I did notice a huge speed increase after removing it though, so I think we need to think elsewhere. I've added in a hacky check for large negative values on the notifications themselves - seems to work well.