summaryrefslogtreecommitdiff
path: root/npc/merchants/socket_enchant.txt
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-03 04:45:11 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-03 04:45:11 +0000
commit97b1ce059de15cbfd307b2457860658698ce319f (patch)
tree457e7a85c214321493c045e524235cc864a423b8 /npc/merchants/socket_enchant.txt
parentd2a65817313f70414e16999f3b8881f0042cd786 (diff)
downloadhercules-97b1ce059de15cbfd307b2457860658698ce319f.tar.gz
hercules-97b1ce059de15cbfd307b2457860658698ce319f.tar.bz2
hercules-97b1ce059de15cbfd307b2457860658698ce319f.tar.xz
hercules-97b1ce059de15cbfd307b2457860658698ce319f.zip
- Switched the slot enchanter's checks so they come AFTER the final 'next' pause. (bugreport:2664)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13721 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants/socket_enchant.txt')
-rw-r--r--npc/merchants/socket_enchant.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/merchants/socket_enchant.txt b/npc/merchants/socket_enchant.txt
index 247d9dbc7..46392e0ef 100644
--- a/npc/merchants/socket_enchant.txt
+++ b/npc/merchants/socket_enchant.txt
@@ -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)))
{