Jump to content
  • 0

Reset all character status point


Question

Posted

can i know how to reset all character status points and give backs their original total status points ?

Gladly someone help me~ urgent ~

7 answers to this question

Recommended Posts

Posted

https://raw.githubusercontent.com/rathena/rathena/master/doc/script_commands.txt

*resetstatus;

This is a character reset command, which will reset the stats on the invoking 
character and give back all the stat points used to raise them previously. 
Nothing will happen to any other numbers about the character.

Used in reset NPC's (duh!)

---------------------------------------

*resetskill;

This command takes off all the skill points on the invoking character, so they 
only have Basic Skill blanked out (lvl 0) left, and returns the points for them 
to spend again. Nothing else will change but the skills. Quest skills will also 
reset if 'quest_skill_reset' option is set to Yes in 'battle_athena.conf'. If 
the 'quest_skill_learn' option is set in there, the points in the quest skills 
will also count towards the total.

Used in reset NPC's (duh!)
Posted

 

https://raw.githubusercontent.com/rathena/rathena/master/doc/script_commands.txt

*resetstatus;

This is a character reset command, which will reset the stats on the invoking 
character and give back all the stat points used to raise them previously. 
Nothing will happen to any other numbers about the character.

Used in reset NPC's (duh!)

---------------------------------------

*resetskill;

This command takes off all the skill points on the invoking character, so they 
only have Basic Skill blanked out (lvl 0) left, and returns the points for them 
to spend again. Nothing else will change but the skills. Quest skills will also 
reset if 'quest_skill_reset' option is set to Yes in 'battle_athena.conf'. If 
the 'quest_skill_learn' option is set in there, the points in the quest skills 
will also count towards the total.

Used in reset NPC's (duh!)

that command is for personal use right, if i want to query all character ? i mean whole character in server. how ?

Posted

how sir, tell me please ~ hehehe /heh


argh.. but they can skip some character if they know login would settle their stats, is there any ideas for all character /thx

Posted (edited)

Hello!

I think you can do an SQL Query like this:

UPDATE 
    `char` 
SET 
    `status_point` = `str` + `agi` + `vit` + `int` + `dex` + `luk`,
    `str` = `agi` = `vit` = `int` = `dex` = `luk` = 0

This gonna reset stats from all chars on server! 

Do a test in a duplicate of your DB first, I'm not quite sure if it works.

Edited by Elendil
Posted (edited)

now i find a solution.. 

reset all to 0.. and after that set the status point to the right number for all. thanks for your help btw, brainstorm me :3

 

oh shit.. its different for baby, and 2nd job class.. /pif


if anyone have ideas or solution, pls tell me /help

Edited by Chaos92

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...