Not exactly sure how complex this will be.. normally server side characters are handled in the tshock database for hp/mp however leveling and custom quests can add hp or mp to the user..
currently if we reset quest or leveling data the hp / mp given though classes is not removed, so this should be solved.
Track user hp gain / mp gain (this is command specific there are specific leveling commands executed to gain hp, so using regex it should be possible to track)
[ ] when leveling / quest data is reset remove the extra hp that was given.
Not exactly sure how complex this will be.. normally server side characters are handled in the tshock database for hp/mp however leveling and custom quests can add hp or mp to the user..
currently if we reset quest or leveling data the hp / mp given though classes is not removed, so this should be solved.
Track user hp gain / mp gain (this is command specific there are specific leveling commands executed to gain hp, so using regex it should be possible to track)
[ ] when leveling / quest data is reset remove the extra hp that was given.