summaryrefslogtreecommitdiff
path: root/npc/re/cities/dewata.txt
diff options
context:
space:
mode:
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$;