- 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
This commit is contained in:
brianluau 2009-05-03 04:45:11 +00:00
parent 8704a43725
commit 549f88d633
2 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,7 @@
Date Added
======
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]
2009/05/02
- Changed a misleading message in the custom Job Changer. (bugreport:682) [brianluau]

View File

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