hello!,
I'm trying to get the sum of the skill points a player used on skills, reset his skills and add that sum to the remaining SP, basically a SP resetter.
I can probably figure out how to reset the skills and add that sum into the remaining sp, but I'm having a small problem with figuring how to get that sum and I will really appriciate it if anyone could assist me!
I need a statement like (SELECT skilllevel FROM skills WHERE characterid = " + getCharId()) - and somehow sum all of them up and put them into a variable uhhhh
I'm trying to get the sum of the skill points a player used on skills, reset his skills and add that sum to the remaining SP, basically a SP resetter.
I can probably figure out how to reset the skills and add that sum into the remaining sp, but I'm having a small problem with figuring how to get that sum and I will really appriciate it if anyone could assist me!
I need a statement like (SELECT skilllevel FROM skills WHERE characterid = " + getCharId()) - and somehow sum all of them up and put them into a variable uhhhh