summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-08 11:53:59 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-08 11:53:59 -0300
commit0e020ae1773b8a11ebeadbba5aaf1d82e119d10d (patch)
treeedb86675ab2090935b3036ec8c266a3ef5b22c9a /npc
parente7a93625faca3306d4570107547bc553a886f202 (diff)
downloadserverdata-0e020ae1773b8a11ebeadbba5aaf1d82e119d10d.tar.gz
serverdata-0e020ae1773b8a11ebeadbba5aaf1d82e119d10d.tar.bz2
serverdata-0e020ae1773b8a11ebeadbba5aaf1d82e119d10d.tar.xz
serverdata-0e020ae1773b8a11ebeadbba5aaf1d82e119d10d.zip
Cindy Quest MVP
Diffstat (limited to 'npc')
-rw-r--r--npc/021-4/main.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/021-4/main.txt b/npc/021-4/main.txt
index 6c6ea7df2..32823f3cb 100644
--- a/npc/021-4/main.txt
+++ b/npc/021-4/main.txt
@@ -119,6 +119,18 @@ L_Winner:
mesn;
mesq l("Thanks for saving me. I'll return home on my own, if you don't mind.");
mesq l("Here, take this reward. Good luck. %%1");
+
+ if ($CINDY_WINNER$ == "") {
+ $CINDY_WINNER$=strcharinfo(0);
+ channelmes("#world", $CINDY_WINNER$+" is the first player to finish Cindy Quest!! GG, dude! %%N");
+ announce "All hail ##B"+$CINDY_WINNER$+"##b, first to complete the ##3Cindy Quesy!", bc_all|bc_npc;
+ Karma=Karma+1;
+ getexp 0, 2000;
+ getitem PrismGift, 1;
+ mesc l("CONGRATULATIONS! You are the first player to finish Cindy Quest!!"), 2;
+ mesc l("You just gained a Karma point, a Prism Gift, and 2000 Job Exp for your bravery!"), 2;
+ }
+
.@q=getq(NivalisQuest_Cindy);
// First time
if (.@q == 4)