diff options
Diffstat (limited to 'npc/021-4/main.txt')
-rw-r--r-- | npc/021-4/main.txt | 12 |
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) |