summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorj-tkay <j-tkay@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-23 17:29:15 +0000
committerj-tkay <j-tkay@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-23 17:29:15 +0000
commit0993148bd81ef80a9927dab793fe79230571f09b (patch)
treeda7ec89e182728de6b2f6a31bbeedb8f0da6e248
parent9f2c0f4f68a3864f41f71b548d047d41a1de6dcd (diff)
downloadhercules-0993148bd81ef80a9927dab793fe79230571f09b.tar.gz
hercules-0993148bd81ef80a9927dab793fe79230571f09b.tar.bz2
hercules-0993148bd81ef80a9927dab793fe79230571f09b.tar.xz
hercules-0993148bd81ef80a9927dab793fe79230571f09b.zip
- Fixed bugreport:6545, invalid Zeny check. (npc/re/cities/dewata.txt)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16693 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--npc/re/cities/dewata.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/re/cities/dewata.txt b/npc/re/cities/dewata.txt
index ee2a4c8e3..ad8e2ee0f 100644
--- a/npc/re/cities/dewata.txt
+++ b/npc/re/cities/dewata.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Gennosuke Kouga
//===== Current Version: =====================================
-//= 1.1
+//= 1.2
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
@@ -11,6 +11,7 @@
//===== Additional Comments: =================================
//= 1.0 First version.
//= 1.1 Standardized. [Euphy]
+//= 1.2 Fixed Zeny check. [Joseph]
//============================================================
dewata,181,88,6 script Young Man#dewata 536,{
@@ -914,7 +915,7 @@ dewata,89,191,0 script Small Shrine#A::DewShrine 111,{
mes "How much you want to donate?";
next;
input .@donate,0,100000;
- if (.@donate < 1000) {
+ if (Zeny < .@donate) {
mes "- Cancelled. -";
close; }
mes "- What do you wish for? -";