Explorar o código

- Switched the slot enchanter's checks so they come AFTER the final 'next' pause. (bugreport:2664)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13721 54d463be-8e91-2dee-dedb-b68131a5f0ec
brianluau %!s(int64=16) %!d(string=hai) anos
pai
achega
549f88d633
Modificáronse 2 ficheiros con 6 adicións e 5 borrados
  1. 1 0
      npc/Changelog.txt
  2. 5 5
      npc/merchants/socket_enchant.txt

+ 1 - 0
npc/Changelog.txt

@@ -1,6 +1,7 @@
 Date		Added
 Date		Added
 ======
 ======
 2009/05/03
 2009/05/03
+	- Switched the slot enchanter's checks so they come AFTER the final 'next' pause. (bugreport:2664)
 	* Removed the obfuscation of the #kafra_code password, following ultramage's suggestion. [brianluau]
 	* Removed the obfuscation of the #kafra_code password, following ultramage's suggestion. [brianluau]
 2009/05/02
 2009/05/02
 	- Changed a misleading message in the custom Job Changer. (bugreport:682) [brianluau]
 	- Changed a misleading message in the custom Job Changer. (bugreport:682) [brianluau]

+ 5 - 5
npc/merchants/socket_enchant.txt

@@ -340,9 +340,13 @@ function	script	Func_Socket	{
 		close;
 		close;
 	}
 	}
 
 
+	mes "[Seiyablem]";
+	mes "Alright then, let the work begin!";
+	mes "You'd better pray for a successful result.";
+	next;
 	switch(getarg(0))
 	switch(getarg(0))
 	{
 	{
-		case 1:		
+		case 1:
 			if((Zeny < getarg(5)*1000) || (countitem(getarg(6)) < getarg(7)) || (!countitem(getarg(1))))
 			if((Zeny < getarg(5)*1000) || (countitem(getarg(6)) < getarg(7)) || (!countitem(getarg(1))))
 			{
 			{
 				mes "[Seiyablem]";
 				mes "[Seiyablem]";
@@ -363,10 +367,6 @@ function	script	Func_Socket	{
 			break;
 			break;
 	}
 	}
 	
 	
-	mes "[Seiyablem]";
-	mes "Alright then, let the work begin!";
-	mes "You'd better pray for a successful result.";
-	next;
 	set .@socketrand,rand(1,100);
 	set .@socketrand,rand(1,100);
 	if((.@socketrand > getarg(3)) && (.@socketrand < getarg(4)))
 	if((.@socketrand > getarg(3)) && (.@socketrand < getarg(4)))
 	{
 	{