summaryrefslogtreecommitdiff
path: root/npc/items/shovel.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-16 14:16:27 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-16 14:16:27 -0300
commitc7db21a2fb38890bb624e14b38f02343be8e3ed6 (patch)
treed1b876a11733e31484ed23f67162a0c4b1911afb /npc/items/shovel.txt
parent035acf9bf3a6b65ad610b4bb12232add03ca97b9 (diff)
downloadserverdata-c7db21a2fb38890bb624e14b38f02343be8e3ed6.tar.gz
serverdata-c7db21a2fb38890bb624e14b38f02343be8e3ed6.tar.bz2
serverdata-c7db21a2fb38890bb624e14b38f02343be8e3ed6.tar.xz
serverdata-c7db21a2fb38890bb624e14b38f02343be8e3ed6.zip
Shovel: Nerf amount of Strange Coins when you are lucky
Diffstat (limited to 'npc/items/shovel.txt')
-rw-r--r--npc/items/shovel.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt
index 17a13625e..bf7edcaa7 100644
--- a/npc/items/shovel.txt
+++ b/npc/items/shovel.txt
@@ -414,9 +414,9 @@ function script shovel_randomtreasure {
StrangeCoin, CasinoCoins, MercBoxA, AncientBlueprint);
delitem TreasureMap, 1;
.@amount=any(1,1,2);
- if (.@id == TreasureKey || .@id == CoinBag)
+ if (.@id == TreasureKey || .@id == CoinBag || .@id == StrangeCoin)
.@amount+=any(0,1,0,1,2);
- if (.@id == StrangeCoin || .@id == CasinoCoins)
+ if (.@id == CasinoCoins)
.@amount+=rand2(0,8);
if (.@id == MercBoxA || .@id == AncientBlueprint || .@id == GoldPieces)
.@amount=1;