From 9c259cbaabe6bdb05013d68e2e39fdabb3ca7ea3 Mon Sep 17 00:00:00 2001 From: euphyy Date: Thu, 23 Aug 2012 19:35:50 +0000 Subject: * Cleaned up documentation of mob_skill_db a little bit. * Added documentation on ancient code in mob_skill_db.txt, where skills will be treated as 'global' if a negative mob ID is specified. * Follow-up r16694, reverted to official behavior (bugreport:6545) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16695 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/re/cities/dewata.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'npc/re') diff --git a/npc/re/cities/dewata.txt b/npc/re/cities/dewata.txt index 06ea648eb..245de2d80 100644 --- a/npc/re/cities/dewata.txt +++ b/npc/re/cities/dewata.txt @@ -914,10 +914,13 @@ dewata,89,191,0 script Small Shrine#A::DewShrine 111,{ mes "^FF00001,000 ~ 100,000 Zeny^000000"; mes "How much you want to donate?"; next; - input .@donate,1000,100000; - if (Zeny < .@donate) { + input .@donate,0,100000; + if (.@donate < 1000) { mes "- Cancelled. -"; close; } + if (.@donate > Zeny) { + mes "- Not enough Zeny. -"; + close; } mes "- What do you wish for? -"; next; input .@wish$; -- cgit v1.2.3-70-g09d2