Jump to content
  • 0

Reset Level 255/120 to Level 99/70


Question

5 answers to this question

Recommended Posts

Posted (edited)

Try this

-	script	Reset	-1,{
OnPCLoginEvent:
if(( JobLevel >= 120 ) && (BaseLevel >= 255)){
set BaseLevel,99;
set JobLevel,70;
resetskill;
set SkillPoint,118;
}
end;
}

Because the 9 points from being novice will automatically inserted. So. First Job (49 points) + Adv Job (69 points) = 118 skill points.

Edited by Jezu
Posted (edited)

Also can use a MySQL Query:

UPDATE `char` SET `base_level`='99' WHERE (`base_level`>='255')
UPDATE `char` SET `job_level`='77' WHERE (`job_level`>='120')

all base level which are 255 or more will be set to 99

same for job level with level 120 to 77

Edited by Irata
Posted (edited)

Also can use a MySQL Query:

UPDATE `char` SET `base_level`='99' WHERE (`base_level`>='255')
UPDATE `char` SET `job_level`='77' WHERE (`job_level`>='120')

all base level which are 255 or more will be set to 99

same for job level with level 120 to 77

In that case, you are only editing their levels and job, but their stats and skill will remain as 255/120. The thread starter wanted to reset his players to make them 99/70.

Additionally, you can add resetstatus or resetstat on the script or copy this and enable it to your script_custom.conf

-	script	Sample	757,{
OnPCLoginEvent:
if( JobLevel >= 69 ){
set JobLevel,50;
resetskill;
resetstat; // if you get error on your console, change this to resetstatus;
set SkillPoint,167;
}
end;
}

Edited by Jezu
Posted

Also can use a MySQL Query:

UPDATE `char` SET `base_level`='99' WHERE (`base_level`>='255')
UPDATE `char` SET `job_level`='77' WHERE (`job_level`>='120')

all base level which are 255 or more will be set to 99

same for job level with level 120 to 77

In that case, you are only editing their levels and job, but their stats and skill will remain as 255/120. The thread starter wanted to reset his players to make them 99/70.

Additionally, you can add resetstatus or resetstat on the script or copy this and enable it to your script_custom.conf

-	script	Sample	757,{
OnPCLoginEvent:
if( JobLevel >= 69 ){
set JobLevel,50;
resetskill;
resetstat; // if you get error on your console, change this to resetstatus;
set SkillPoint,167;
}
end;
}

are yeah forgot stats and skills x.x

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...