summaryrefslogtreecommitdiff
path: root/npc/custom/jobmaster.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/custom/jobmaster.txt')
-rw-r--r--npc/custom/jobmaster.txt12
1 files changed, 4 insertions, 8 deletions
diff --git a/npc/custom/jobmaster.txt b/npc/custom/jobmaster.txt
index 74c0ee762..1256ec653 100644
--- a/npc/custom/jobmaster.txt
+++ b/npc/custom/jobmaster.txt
@@ -9,8 +9,7 @@
//===== Description: =========================================
//= A fully functional job changer.
//===== Additional Comments: =================================
-//= 1.0 First Version
-//= 1.1 Fixed the problem of skill points on change job
+//= 1.1 Fixed reset on Baby job change.
//============================================================
prontera,153,193,6 script Job Master 123,{
@@ -100,12 +99,9 @@ function Job_Menu {
if (select(" ~ Change into ^0055FF"+jobname(.@i)+"^000000 class: ~ ^777777Go back^000000")==1) {
mes "[Job Master]";
mes "You are now "+A_An(jobname(.@i))+"!";
- if (.@i==4001) {
- if (.LastJob) set lastJob, Class;
- jobchange .@i;
- resetlvl(1);
- set SkillPoint, 0; }
- else jobchange .@i;
+ if (.@i==4001) if (.LastJob) set lastJob, Class;
+ jobchange .@i;
+ if (.@i==4001 || .@i==4023) resetlvl(1);
specialeffect2 338; specialeffect2 432;
if (.Platinum) callsub Get_Platinum;
close; }