Player class + a bunch of sign errors introduced :)
harder bounds on the xp-xc condition