From 6e6efe3ac0a52225d7e9f7e2c36cc841ad8eedd4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 6 Mar 2019 14:23:39 -0300 Subject: Create $HEROESHOLD_WINNER$ for Statue Purposes --- npc/001-7/celestia_bossfight.txt | 6 +++--- npc/018-2-2/main.txt | 11 +++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/npc/001-7/celestia_bossfight.txt b/npc/001-7/celestia_bossfight.txt index e9c768aee..d9e403241 100644 --- a/npc/001-7/celestia_bossfight.txt +++ b/npc/001-7/celestia_bossfight.txt @@ -36,10 +36,10 @@ L_Survivor: channelmes("#world", $YETIKING_WINNER$+" is the first player to finish Yeti King Quest!! GG, dude! %%N"); announce "All hail ##B"+$YETIKING_WINNER$+"##b, first to complete the ##3Yeti King Quest!", bc_all|bc_npc; Karma=Karma+1; - getexp 0, 200; - getitem SilverGift, 1; + getexp 0, 2000; + getitem PrismGift, 1; mesc l("CONGRATULATIONS! You are the first player to finish Yeti King quest!!"), 2; - mesc l("You just gained a Karma point, a Silver Gift, and 200 Job Exp for your bravery!"), 2; + mesc l("You just gained a Karma point, a Prism Gift, and 2000 Job Exp for your bravery!"), 2; next; } mesn col(l("The Yeti King"), 3); diff --git a/npc/018-2-2/main.txt b/npc/018-2-2/main.txt index 25e1c1383..5a03674a8 100644 --- a/npc/018-2-2/main.txt +++ b/npc/018-2-2/main.txt @@ -54,6 +54,17 @@ OnExpertBossKilled: end; OnMasterBossKilled: + if ($HEROESHOLD_WINNER$ == "") { + $HEROESHOLD_WINNER$=strcharinfo(0); + channelmes("#world", $HEROESHOLD_WINNER$+" is the first player to finish HEROES HOLD Master Dungeon!! GG, dude! %%N"); + announce "All hail ##B"+$HEROESHOLD_WINNER$+"##b, first to complete the ##3HEROES HOLD Master Dungeon!", bc_all|bc_npc; + Karma=Karma+1; + getexp 0, 2000; + getitem PrismGift, 1; + mesc l("CONGRATULATIONS! You are the first player to finish Heroes Hold Master Dungeon!!"), 2; + mesc l("You just gained a Karma point, a Prism Gift, and 2000 Job Exp for your bravery!"), 2; + close; + } DungeonClear(); monster "018-2-3", any(52,188), any(29,196), "Master Dungeon Boss", MonsterKing, 1, "#HH_CONTROLLER01::OnMasterBossKilled"; end; -- cgit v1.2.3-60-g2f50