diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-08 20:18:22 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-08 20:18:22 -0300 |
commit | ddb8de13e5a3624933c27c0b08957da7b4ddec9f (patch) | |
tree | 53908bedcf05513f86c1c685788b33a0b2998042 /npc/001-7/celestia_bossfight.txt | |
parent | 5db142b7a48754304611908d742dbfa829e80e8f (diff) | |
download | serverdata-ddb8de13e5a3624933c27c0b08957da7b4ddec9f.tar.gz serverdata-ddb8de13e5a3624933c27c0b08957da7b4ddec9f.tar.bz2 serverdata-ddb8de13e5a3624933c27c0b08957da7b4ddec9f.tar.xz serverdata-ddb8de13e5a3624933c27c0b08957da7b4ddec9f.zip |
Introduce @YetiKing_Challenger. Only those lvl 35+ who join the quest by
challenging the Yeti King will have that flag and be able to:
* Challenge the Yeti King on the very end
* Have higher chances of better rewards at end, or get more xp/gp.
Diffstat (limited to 'npc/001-7/celestia_bossfight.txt')
-rw-r--r-- | npc/001-7/celestia_bossfight.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/001-7/celestia_bossfight.txt b/npc/001-7/celestia_bossfight.txt index c84190775..614a2ab43 100644 --- a/npc/001-7/celestia_bossfight.txt +++ b/npc/001-7/celestia_bossfight.txt @@ -46,10 +46,10 @@ L_Survivor: l("I want coal"); mes ""; - .@r=rand(1,100); + .@r=rand(1,100)+(@YetiKing_Challenger*5); switch (@menu) { case 1: - if (.@r < 30) + if (.@r > 70) getitem rand(Diamond, Amethyst), 1; else getitem rand(CopperOre, TitaniumOre), 1; @@ -73,7 +73,7 @@ L_Survivor: mes ""; select l("Please, bring me back home."), - rif((getareausers("001-7", 7) > 1 || $@GM_OVERRIDE) && !mobcount(.map$, "#YetiKing::OnVictory"), l("No, we challenge you to a duel!")), + rif((getareausers("001-7", 7) > 1 || $@GM_OVERRIDE) && !mobcount(.map$, "#YetiKing::OnVictory") && @YetiKing_Challenger, l("No, we challenge you to a duel!")), l("I'll walk around here a little more."); mes ""; |