diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-19 09:08:25 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-19 09:08:25 -0300 |
commit | 716e949a1566a0193008412735691de47a5b9b8b (patch) | |
tree | e25285c187186acc275b3d0948abf60606e96392 /npc/items/shovel.txt | |
parent | 287e4b15ea6a2f10068c776abc89cf0a444c2c7d (diff) | |
download | serverdata-716e949a1566a0193008412735691de47a5b9b8b.tar.gz serverdata-716e949a1566a0193008412735691de47a5b9b8b.tar.bz2 serverdata-716e949a1566a0193008412735691de47a5b9b8b.tar.xz serverdata-716e949a1566a0193008412735691de47a5b9b8b.zip |
You can now find 1 (one) Merc. Boxset A, and up to 10 Strange/Casino Coins in [Treasure Map].
It have enough rarity for that (because shop stock), and difficulty too.
Diffstat (limited to 'npc/items/shovel.txt')
-rw-r--r-- | npc/items/shovel.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt index f414cd055..c116c83f8 100644 --- a/npc/items/shovel.txt +++ b/npc/items/shovel.txt @@ -389,11 +389,16 @@ function script shovel_getcity { function script shovel_randomtreasure { .@id=any(TreasureKey,CoinBag,TreasureKey,CoinBag,CoinBag,GoldPieces, - Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst); + Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst, + StrangeCoin, CasinoCoins, MercBoxA); delitem TreasureMap, 1; .@amount=any(1,1,2); if (.@id == TreasureKey || .@id == CoinBag) .@amount+=any(0,1,0,1,2); + if (.@id == StrangeCoin || .@id == CasinoCoins) + .@amount+=rand2(0,8); + if (.@id == MercBoxA) + .@amount=1; getitem .@id, .@amount; ShovelQuests_AssignedMAP$=""; ShovelQuests_AssignedX=0; |