diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-06 14:23:39 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-06 14:23:39 -0300 |
commit | 6e6efe3ac0a52225d7e9f7e2c36cc841ad8eedd4 (patch) | |
tree | 262556c3588829d4d93468f4733d827bcef66cdf /npc/018-2-2 | |
parent | d8f5ebf6d3c2550291a957382f4759399fd8a8a9 (diff) | |
download | serverdata-6e6efe3ac0a52225d7e9f7e2c36cc841ad8eedd4.tar.gz serverdata-6e6efe3ac0a52225d7e9f7e2c36cc841ad8eedd4.tar.bz2 serverdata-6e6efe3ac0a52225d7e9f7e2c36cc841ad8eedd4.tar.xz serverdata-6e6efe3ac0a52225d7e9f7e2c36cc841ad8eedd4.zip |
Create $HEROESHOLD_WINNER$ for Statue Purposes
Diffstat (limited to 'npc/018-2-2')
-rw-r--r-- | npc/018-2-2/main.txt | 11 |
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; |