From 1ab79902ee0b9d27e6c806caf7691f17eadde2ff Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 5 Mar 2019 22:37:01 -0300 Subject: The first treasure chest you open will give you a tier 2 or 3 reward. Tier 1, 4 or 5 rewards aren't possible. Tier 1 is highest reward tier. --- npc/functions/treasure.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/functions/treasure.txt') diff --git a/npc/functions/treasure.txt b/npc/functions/treasure.txt index 16f607e30..4955e0087 100644 --- a/npc/functions/treasure.txt +++ b/npc/functions/treasure.txt @@ -27,7 +27,7 @@ function script TreasureBox { if (!.@empty) { TREASURE_OPEN=TREASURE_OPEN+1; .@t=TREASURE_OPEN; - .@r=rand(0,10000); + .@r=rand(0,10000)-readparam(bLuk); // Select treasure list // You're warranted an ultra rare (0.1%) every 149 open chests @@ -38,7 +38,7 @@ function script TreasureBox { .@loot=any(AtroposMixture, GoldenApple, DivineApple, MercBoxA, SilverGift, Shemagh, EverburnPowder, IridiumOre, PlatinumOre); else if (.@t % 50 == 0 || .@r < 100) .@loot=any(Grenade, SnakeEgg, LachesisBrew, ArrowAmmoBox, CoinBag, BronzeGift, TerraniteOre, LeadOre, TinOre, SilverOre, GoldOre, TitaniumOre, FluoPowder); - else if (.@r < 1000) + else if (.@r < 1000 || .@t == 0) .@loot=any(MoubooSteak, ClothoLiquor, Coal, SmallMushroom, HastePotion, StrengthPotion, Dagger, StrangeCoin, IronOre, CopperOre); else if (.@r < 4000) .@loot=any(Croconut, Potatoz, MoubooSteak, ClothoLiquor, Coal, SmallMushroom, HastePotion, StrengthPotion, StrangeCoin); -- cgit v1.2.3-60-g2f50