From 716e949a1566a0193008412735691de47a5b9b8b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 19 Jun 2019 09:08:25 -0300 Subject: 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. --- npc/items/shovel.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3-60-g2f50