Correcting the character stats when equipping