summaryrefslogtreecommitdiff
path: root/npc/re/cities/dewata.txt
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-23 19:35:50 +0000
committereuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-23 19:35:50 +0000
commit9c259cbaabe6bdb05013d68e2e39fdabb3ca7ea3 (patch)
treec797742d4dc4bd8785a9d46bdd092374f560bb37 /npc/re/cities/dewata.txt
parent2b794dd2dc2717bd7506d710b0f7e52cef7b55b8 (diff)
downloadhercules-9c259cbaabe6bdb05013d68e2e39fdabb3ca7ea3.tar.gz
hercules-9c259cbaabe6bdb05013d68e2e39fdabb3ca7ea3.tar.bz2
hercules-9c259cbaabe6bdb05013d68e2e39fdabb3ca7ea3.tar.xz
hercules-9c259cbaabe6bdb05013d68e2e39fdabb3ca7ea3.zip
* 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
Diffstat (limited to 'npc/re/cities/dewata.txt')
-rw-r--r--npc/re/cities/dewata.txt7
1 files changed, 5 insertions, 2 deletions
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$;