From ddb8de13e5a3624933c27c0b08957da7b4ddec9f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 8 Jun 2018 20:18:22 -0300 Subject: 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. --- npc/001-7/celestia_bossfight.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/001-7') 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 ""; -- cgit v1.2.3-70-g09d2