diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-10 11:17:08 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-10 11:17:08 -0300 |
commit | c74e42d78b5c734aeafa7f08247e046295829fca (patch) | |
tree | c2bbc0a6b460b0a7c01a58838a45f9b87e69e299 | |
parent | 7f8739e617721845a544da55cd7a9ef27859f57a (diff) | |
download | serverdata-c74e42d78b5c734aeafa7f08247e046295829fca.tar.gz serverdata-c74e42d78b5c734aeafa7f08247e046295829fca.tar.bz2 serverdata-c74e42d78b5c734aeafa7f08247e046295829fca.tar.xz serverdata-c74e42d78b5c734aeafa7f08247e046295829fca.zip |
Broadcast Cindy Quest end (victory and defeat)
-rw-r--r-- | npc/021-4/main.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/npc/021-4/main.txt b/npc/021-4/main.txt index 14a5da508..8ecc59659 100644 --- a/npc/021-4/main.txt +++ b/npc/021-4/main.txt @@ -123,7 +123,7 @@ L_Reset: // Timeout L_Reckless: - announce("People failed to rescue Cindy!"), bc_all|bc_npc; + kamibroadcast("People failed to rescue Cindy!"); areatimer "021-4", 20, 20, 100, 80, 10, "Cindy#Outside::OnFail"; goto L_CleanUp; @@ -178,6 +178,12 @@ L_Winner: 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; + } else { + if (getcharid(1) > 0) + .@v$=getpartyname(getcharid(1)); + else + .@v$=strcharinfo(0); + kamibroadcast("Cindy was rescued by \""+.@v$+"\"."); } .@q=getq(NivalisQuest_Cindy); |