summaryrefslogtreecommitdiff
path: root/npc/other
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-13 01:37:40 +0000
committereuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-13 01:37:40 +0000
commit112b7b6871749c06f7f53dceeeaf4ccadbfa87d5 (patch)
tree8df2f0eb44232ca00106d260a2eaaf7d2a92ade8 /npc/other
parent3f84ed6a3ea1468c94d4f90d1c5e731355c67300 (diff)
downloadhercules-112b7b6871749c06f7f53dceeeaf4ccadbfa87d5.tar.gz
hercules-112b7b6871749c06f7f53dceeeaf4ccadbfa87d5.tar.bz2
hercules-112b7b6871749c06f7f53dceeeaf4ccadbfa87d5.tar.xz
hercules-112b7b6871749c06f7f53dceeeaf4ccadbfa87d5.zip
* Updated WOE Controller script to v1.5, which overhauls the rewards system (with many new features).
* Fixed another Renewal Izlude coordinate (bugreport:7169). * Fixed a mail bug, since r16574. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17096 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other')
-rw-r--r--npc/other/mail.txt21
1 files changed, 12 insertions, 9 deletions
diff --git a/npc/other/mail.txt b/npc/other/mail.txt
index 8b236fc76..edd4af17b 100644
--- a/npc/other/mail.txt
+++ b/npc/other/mail.txt
@@ -26,26 +26,29 @@
//============================================================
- script Mailbox#dummy::MailBox -1,{
mes "[Mailbox]";
- mes "To use the mailbox service, you are required";
- mes "to pay 130 zeny.";
+ mes "To use the mailbox service,";
+ mes "you are required to pay 130 zeny.";
mes "Would you like to use the service?";
next;
- mes "[Mailbox]";
- if (select("Yes.:No.") == 1) {
+ switch(select("Yes.:No.")) {
+ case 1:
+ mes "[Mailbox]";
if (Zeny < 130) {
mes "I am sorry, but you do not have enough money.";
- mes "To use the mailbox service, you are required";
- mes "to pay 130 zeny.";
+ mes "To use the mailbox service,";
+ mes "you are required to pay 130 zeny.";
close;
}
mes "Thank you, please come again.";
- set Zeny,(Zeny - 130);
+ set Zeny, Zeny - 130;
close2;
openmail;
end;
+ case 2:
+ mes "[Mailbox]";
+ mes "Thank you, please come again.";
+ close;
}
- mes "Thank you, please come again.";
- close;
}
// Prontera