esurge

rp loss is dependant on strength, not the mineral lost
prolly just a typo in the code though