diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-07-15 16:32:07 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-07-15 16:32:07 -0300 |
commit | 539f4cf48008033982fd580a573234da27305c3b (patch) | |
tree | 89ebafae5acb702da8ea8dfe17c3068a6af8a712 /npc/items/shovel.txt | |
parent | 75dc7f31e327f0ca19da493b2b4ef02031131b3c (diff) | |
download | serverdata-539f4cf48008033982fd580a573234da27305c3b.tar.gz serverdata-539f4cf48008033982fd580a573234da27305c3b.tar.bz2 serverdata-539f4cf48008033982fd580a573234da27305c3b.tar.xz serverdata-539f4cf48008033982fd580a573234da27305c3b.zip |
Remove atoi() from Ishi, allow Ancient Blueprints to be found on treasure maps
Diffstat (limited to 'npc/items/shovel.txt')
-rw-r--r-- | npc/items/shovel.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt index 28c9b87e0..8722cdb0e 100644 --- a/npc/items/shovel.txt +++ b/npc/items/shovel.txt @@ -411,14 +411,14 @@ function script shovel_getcity { function script shovel_randomtreasure { .@id=any(TreasureKey,CoinBag,TreasureKey,CoinBag,CoinBag,GoldPieces, Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst, - StrangeCoin, CasinoCoins, MercBoxA); + StrangeCoin, CasinoCoins, MercBoxA, AncientBlueprint); 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) + if (.@id == MercBoxA || .@id == AncientBlueprint) .@amount=1; getitem .@id, .@amount; ShovelQuests_AssignedMAP$=""; |