diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-07 10:20:12 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-07 10:20:12 -0300 |
commit | 68b62a7db3c17a79c8cd0505956c42746b68e043 (patch) | |
tree | 7519ac4119af3fb5c58469047cb3390ecad27ec4 | |
parent | 8703dfd5c12408c3bfaf4cf3c3a18b50b4aa3d59 (diff) | |
download | serverdata-68b62a7db3c17a79c8cd0505956c42746b68e043.tar.gz serverdata-68b62a7db3c17a79c8cd0505956c42746b68e043.tar.bz2 serverdata-68b62a7db3c17a79c8cd0505956c42746b68e043.tar.xz serverdata-68b62a7db3c17a79c8cd0505956c42746b68e043.zip |
We begin at 1
-rw-r--r-- | npc/functions/treasure.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/treasure.txt b/npc/functions/treasure.txt index 38a809f4..0752ba8b 100644 --- a/npc/functions/treasure.txt +++ b/npc/functions/treasure.txt @@ -32,7 +32,7 @@ function script TreasureBox { // Select treasure list // You're warranted a rare (5%) every 25 open chests // There's also uncommons (20%) and commons (75%) - if (.@t == 0) + if (.@t == 1) .@loot=WoodenBow; else if (.@t % 25 == 0 || .@r < 500) // Rare: 5% .@loot=any(AtroposMixture, ElixirOfLife, BigHealing, BigMana, DeathPotion, MagicFeather); |