summaryrefslogtreecommitdiff
path: root/npc/003-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-02 11:10:08 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-02 11:10:08 -0300
commit06c61067349930157ea719765e2e8f142d71ac36 (patch)
tree03cea4af36e659d1032b07b5dbac109a69f25cff /npc/003-1
parente2cb52192a923cfa894b3b9b063fdf3f9fd14e4b (diff)
downloadserverdata-06c61067349930157ea719765e2e8f142d71ac36.tar.gz
serverdata-06c61067349930157ea719765e2e8f142d71ac36.tar.bz2
serverdata-06c61067349930157ea719765e2e8f142d71ac36.tar.xz
serverdata-06c61067349930157ea719765e2e8f142d71ac36.zip
Allows you to do multiple deposits during Summer to Ched. Debug. Bug fix.
Diffstat (limited to 'npc/003-1')
-rw-r--r--npc/003-1/ched.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/003-1/ched.txt b/npc/003-1/ched.txt
index 41d977cf4..0ad1e8e83 100644
--- a/npc/003-1/ched.txt
+++ b/npc/003-1/ched.txt
@@ -50,6 +50,8 @@
mesc l("Your Score: @@", @ched), 1;
mes "";
ScoreSSC;
+ closedialog;
+ goodbye;
close;
}
@@ -61,7 +63,7 @@
@ched=getq2(SQuest_Ched);
.@claimed=getq3(SQuest_Ched); // Required to prevent rewriting scoreboards
- if (season() == SUMMER && @ched <= 0) goto L_Summer;
+ if (season() == SUMMER && !$@GM_OVERRIDE) goto L_Summer;
if ((season() == AUTUMN && !.@claimed) || is_gm()) goto L_Autumn;
hello;
end;
@@ -107,6 +109,8 @@ L_Autumn:
// TODO: Do whatever reward whatever way you want whatever whatevers.
Zeny=Zeny+@ched;
setq3 SQuest_Ched, 1;
+ closedialog;
+ goodbye;
close;
OnInit: