From 0e020ae1773b8a11ebeadbba5aaf1d82e119d10d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 8 Mar 2019 11:53:59 -0300 Subject: Cindy Quest MVP --- npc/021-4/main.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'npc/021-4') 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) -- cgit v1.2.3-60-g2f50