diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-07 09:00:39 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-07 09:00:39 -0300 |
commit | eca8ba1c4348f9fe776a4fc5cbc533a6a1d60082 (patch) | |
tree | a8fbd6cd157804d66aea7e334f20cfa7c9eb2329 | |
parent | 2fec048daa87af1065f3ada4aa605ca0a2ad57cc (diff) | |
download | serverdata-eca8ba1c4348f9fe776a4fc5cbc533a6a1d60082.tar.gz serverdata-eca8ba1c4348f9fe776a4fc5cbc533a6a1d60082.tar.bz2 serverdata-eca8ba1c4348f9fe776a4fc5cbc533a6a1d60082.tar.xz serverdata-eca8ba1c4348f9fe776a4fc5cbc533a6a1d60082.zip |
Change Treasure balance
-rw-r--r-- | npc/functions/treasure.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/functions/treasure.txt b/npc/functions/treasure.txt index 7d7a3ca1..5ce3dab6 100644 --- a/npc/functions/treasure.txt +++ b/npc/functions/treasure.txt @@ -30,13 +30,13 @@ function script TreasureBox { .@r=rand(0,10000)-(readbattleparam(getcharid(3), UDT_LUK)*2); // Select treasure list - // You're warranted a rare (1%) every 50 open chests - // There's also uncommons (24%) and commons (75%) + // You're warranted a rare (5%) every 25 open chests + // There's also uncommons (20%) and commons (75%) if (.@t == 0) .@loot=WoodenBow; - else if (.@t % 50 == 0 || .@r < 100) // Rare: 1% + else if (.@t % 25 == 0 || .@r < 500) // Rare: 5% .@loot=any(AtroposMixture, ElixirOfLife, BigHealing, BigMana, DeathPotion, MagicFeather); - else if (.@r < 2500 || .@t == 0) // Uncommon: 25% + else if (.@r < 2500) // Uncommon: 20% .@loot=any(FatesPotion, ClothoLiquor, LachesisBrew, RedPlushWine, TreasureMap, MediumHealing, MediumMana); else // Common: 75% .@loot=any(Bread, Fungus, Cheese, Aquada, Croconut, PiberriesInfusion, Carrot, SmallHealing, SmallMana); |