summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorog2 <og2@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-12 23:59:16 +0000
committerog2 <og2@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-12 23:59:16 +0000
commitd0932858a07e7df3159003c0b920c50e2e6a1b76 (patch)
tree9c23c6bc32eb03abc78e1c1c33bb064449ccd035 /npc
parentc6a925d02bbefe8b167f6371d7115f84080dc44a (diff)
downloadhercules-d0932858a07e7df3159003c0b920c50e2e6a1b76.tar.gz
hercules-d0932858a07e7df3159003c0b920c50e2e6a1b76.tar.bz2
hercules-d0932858a07e7df3159003c0b920c50e2e6a1b76.tar.xz
hercules-d0932858a07e7df3159003c0b920c50e2e6a1b76.zip
Fixed char being stuck with breaks (bugreport:5374)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15681 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/other/card_trader.txt23
1 files changed, 7 insertions, 16 deletions
diff --git a/npc/other/card_trader.txt b/npc/other/card_trader.txt
index 7cfd13483..f943b6209 100644
--- a/npc/other/card_trader.txt
+++ b/npc/other/card_trader.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Slim (og2)
//===== Current Version: =====================================
-//= 1.1
+//= 1.2
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
@@ -11,6 +11,7 @@
//===== Additional Comments: =================================
//= v1.0 Translated from the Official [Slim]
//= v1.1 Fixed variables and optimized script [Slim]
+//= v1.2 Fixed char being stuck with breaks [Slim] (bugreport:5374)
//============================================================
prontera,115,90,0 script Putty 90,{
@@ -4106,19 +4107,15 @@ prontera,115,90,0 script Putty 90,{
set oversea_event9, (.@points+.@count);
mes "[Putty]";
mes "Alright, you have received ^CC0000"+.@count+"^000000 points.";
- close2;
- break;
+ break;
case 2:
mes "[Putty]";
mes "Okay, let me know if I can help you with something else.";
- close2;
- break;
+ break;
}
- }
- else {
+ } else {
mes "[Putty]";
mes "Please, come back here if you want to exchange a monster card.";
- close2;
}
break;
case 2:
@@ -4139,7 +4136,6 @@ prontera,115,90,0 script Putty 90,{
} else {
mes "[Putty]";
mes "Sorry, but you don't have enough points.";
- close2;
}
break;
case 2:
@@ -4153,7 +4149,6 @@ prontera,115,90,0 script Putty 90,{
} else {
mes "[Putty]";
mes "Sorry, but you don't have enough points.";
- close2;
}
break;
case 3:
@@ -4167,7 +4162,6 @@ prontera,115,90,0 script Putty 90,{
} else {
mes "[Putty]";
mes "Sorry, but you don't have enough points.";
- close2;
}
break;
case 4:
@@ -4182,22 +4176,19 @@ prontera,115,90,0 script Putty 90,{
} else {
mes "[Putty]";
mes "Sorry, but you don't have enough points.";
- close2;
}
break;
case 5:
mes "[Putty]";
mes "Alright, come back when you have more points.";
- close2;
- break;
+ break;
}
} else {
mes "[Putty]";
mes "You have 0 points and you need atleast 1 point to exchange.";
- close2;
}
break;
}
-end;
+close;
}