From 0993148bd81ef80a9927dab793fe79230571f09b Mon Sep 17 00:00:00 2001 From: j-tkay Date: Thu, 23 Aug 2012 17:29:15 +0000 Subject: - 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 --- npc/re/cities/dewata.txt | 5 +++-- 1 file 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? -"; -- cgit v1.2.3-70-g09d2