summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/custom/jobmaster.txt12
-rw-r--r--npc/instances/EndlessTower.txt2
2 files changed, 5 insertions, 9 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; }
diff --git a/npc/instances/EndlessTower.txt b/npc/instances/EndlessTower.txt
index 18c390858..ecdc3bed0 100644
--- a/npc/instances/EndlessTower.txt
+++ b/npc/instances/EndlessTower.txt
@@ -418,7 +418,7 @@ e_tower,1,1,2 script #102Administrator Mode104 844,{
switch(select("Generate Purification Stone:Remove Purification Stone:Cancel")) {
case 1:
mes "Create the Purification Stone that stays for 30 minutes.";
- donpcevent "Purification Stone#et1::Enable";
+ donpcevent "Purification Stone#et1::OnEnable";
break;
case 2:
mes "Destroy the Purification Stone immediately";