From c735b78e9f1c291785f812801e14a8345a6195d2 Mon Sep 17 00:00:00 2001 From: euphyy Date: Mon, 25 Jun 2012 20:46:31 +0000 Subject: * Fixed a minor label typo in "Endless Tower" script, bugreport:5973 (instances\EndlessTower.txt) * Fixed reset on Baby job change in custom "Job Master", bugreport:6101 (custom\jobmaster.txt) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16347 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/custom/jobmaster.txt | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'npc/custom/jobmaster.txt') 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; } -- cgit v1.2.3-60-g2f50