Added function to get attribute values from avatar.
Fixed player XP / HP update.