From c74e42d78b5c734aeafa7f08247e046295829fca Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 10 Jun 2019 11:17:08 -0300 Subject: Broadcast Cindy Quest end (victory and defeat) --- npc/021-4/main.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'npc/021-4') 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); -- cgit v1.2.3-70-g09d2