summaryrefslogtreecommitdiff
path: root/npc/functions/treasure.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-11 11:54:59 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-11 11:54:59 -0300
commit49f70c8289235df88d69f23be5d5a13581b77c0f (patch)
tree6bac1d9d7eb9ffca5fdf2fade38174bcc11b16eb /npc/functions/treasure.txt
parent7c408fe29fa6a7cc8d2e7e150beff091968589c1 (diff)
downloadserverdata-49f70c8289235df88d69f23be5d5a13581b77c0f.tar.gz
serverdata-49f70c8289235df88d69f23be5d5a13581b77c0f.tar.bz2
serverdata-49f70c8289235df88d69f23be5d5a13581b77c0f.tar.xz
serverdata-49f70c8289235df88d69f23be5d5a13581b77c0f.zip
Improve treasure drop chances
Diffstat (limited to 'npc/functions/treasure.txt')
-rw-r--r--npc/functions/treasure.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/treasure.txt b/npc/functions/treasure.txt
index 948492793..e333e4bcb 100644
--- a/npc/functions/treasure.txt
+++ b/npc/functions/treasure.txt
@@ -32,13 +32,13 @@ function script TreasureBox {
// Select treasure list
// You're warranted an ultra rare (0.1%) every 149 open chests
// You're warranted a super rare (1%) every 50 open chests
- // There's also rares (9%), uncommons (30%) and commons (60%)
+ // There's also rares (14%), uncommons (35%) and commons (50%)
.@ur_rate=min(10, (TREASURE_OPEN/10));
if (.@t % 149 == 0 || .@r < .@ur_rate)
.@loot=any(AtroposMixture, GoldenApple, DivineApple, MercBoxC, MoveSpeedPotion, Shemagh, EverburnPowder, IridiumOre, PlatinumOre, YerbaMate);
else if (.@t % 50 == 0 || .@r < 100)
.@loot=any(MercBoxB, SmokeGrenade, SnakeEgg, LachesisBrew, ArrowAmmoBox, GoldPieces, SilverGift, TerraniteOre, LeadOre, TinOre, SilverOre, GoldOre, TitaniumOre, FluoPowder, EquipmentBlueprintC, AlchemyBlueprintC, AlchemyBlueprintD, AncientBlueprint, JasmineTea);
- else if (.@r < 1000 || .@t == 0)
+ else if (.@r < 1500 || .@t == 0)
.@loot=any(MercBoxA, MoubooSteak, ClothoLiquor, Coal, RedPlushWine, HastePotion, CoinBag, StrengthPotion, Dagger, BronzeGift, IronOre, CopperOre, BlueDye, EquipmentBlueprintB, AlchemyBlueprintB, AlchemyBlueprintC, OolongTea);
else if (.@r < 5000)
.@loot=any(Croconut, Potatoz, MoubooSteak, ClothoLiquor, Coal, SmallMushroom, HastePotion, StrengthPotion, WoodenLog, LeatherPatch, Beer, EquipmentBlueprintA, EquipmentBlueprintB, AlchemyBlueprintA, SpearmintTea, TreasureMap);