summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-30 14:34:35 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-30 14:34:35 -0300
commit15e75f3b96e0e5e156b5511590f3d4d7d10d5912 (patch)
tree8167e0246b85d1a0985c4130b92c095171cba1d6 /npc/functions
parent97bc84d1f0d8aa72d965cbc8b6695d581ac90e09 (diff)
downloadserverdata-15e75f3b96e0e5e156b5511590f3d4d7d10d5912.tar.gz
serverdata-15e75f3b96e0e5e156b5511590f3d4d7d10d5912.tar.bz2
serverdata-15e75f3b96e0e5e156b5511590f3d4d7d10d5912.tar.xz
serverdata-15e75f3b96e0e5e156b5511590f3d4d7d10d5912.zip
Prototype for Kamelot Chests
The treasure chests are Iilia-level
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/treasure.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/functions/treasure.txt b/npc/functions/treasure.txt
index f9a02186b..948492793 100644
--- a/npc/functions/treasure.txt
+++ b/npc/functions/treasure.txt
@@ -35,11 +35,11 @@ function script TreasureBox {
// There's also rares (9%), uncommons (30%) and commons (60%)
.@ur_rate=min(10, (TREASURE_OPEN/10));
if (.@t % 149 == 0 || .@r < .@ur_rate)
- .@loot=any(AtroposMixture, GoldenApple, DivineApple, MercBoxA, MoveSpeedPotion, Shemagh, EverburnPowder, IridiumOre, PlatinumOre, YerbaMate);
+ .@loot=any(AtroposMixture, GoldenApple, DivineApple, MercBoxC, MoveSpeedPotion, Shemagh, EverburnPowder, IridiumOre, PlatinumOre, YerbaMate);
else if (.@t % 50 == 0 || .@r < 100)
- .@loot=any(SmokeGrenade, SnakeEgg, LachesisBrew, ArrowAmmoBox, GoldPieces, SilverGift, TerraniteOre, LeadOre, TinOre, SilverOre, GoldOre, TitaniumOre, FluoPowder, EquipmentBlueprintC, AlchemyBlueprintC, AlchemyBlueprintD, AncientBlueprint, JasmineTea);
+ .@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)
- .@loot=any(MoubooSteak, ClothoLiquor, Coal, RedPlushWine, HastePotion, CoinBag, StrengthPotion, Dagger, BronzeGift, IronOre, CopperOre, BlueDye, EquipmentBlueprintB, AlchemyBlueprintB, AlchemyBlueprintC, OolongTea);
+ .@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);
else