summaryrefslogtreecommitdiff
path: root/npc/018-2-2/main.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/018-2-2/main.txt')
-rw-r--r--npc/018-2-2/main.txt11
1 files changed, 11 insertions, 0 deletions
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;