Explorar o código

* 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://svn.code.sf.net/p/rathena/svn/trunk@16347 54d463be-8e91-2dee-dedb-b68131a5f0ec

euphyy %!s(int64=13) %!d(string=hai) anos
pai
achega
383dcfaf16
Modificáronse 2 ficheiros con 5 adicións e 9 borrados
  1. 4 8
      npc/custom/jobmaster.txt
  2. 1 1
      npc/instances/EndlessTower.txt

+ 4 - 8
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; }

+ 1 - 1
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";