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/018-2-2/main.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'npc/018-2-2/main.txt') 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-70-g09d2