summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-02 14:22:28 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-02 14:22:28 -0300
commit96e1a10696419839f6c02be4288266f6b19e0897 (patch)
tree28e233e120f54f7be52c0a0111decbddaee2159b
parenta01bf47a80f166a1d302d0751ea782da511dedcd (diff)
downloadserverdata-96e1a10696419839f6c02be4288266f6b19e0897.tar.gz
serverdata-96e1a10696419839f6c02be4288266f6b19e0897.tar.bz2
serverdata-96e1a10696419839f6c02be4288266f6b19e0897.tar.xz
serverdata-96e1a10696419839f6c02be4288266f6b19e0897.zip
Add back the Pirate Bandana to obtanium lists
-rw-r--r--npc/016-7/main.txt2
-rw-r--r--npc/items/shovel.txt4
2 files changed, 5 insertions, 1 deletions
diff --git a/npc/016-7/main.txt b/npc/016-7/main.txt
index bb7090ab9..1609fa4ef 100644
--- a/npc/016-7/main.txt
+++ b/npc/016-7/main.txt
@@ -35,6 +35,8 @@ OnPirateDie:
end;
OnVictory:
+ if (rand2(50000) < readparam2(bLuk))
+ getitem PirateBandana, 1;
areatimer("016-7", 23, 25, 52, 35, 10, "#MarineShipAttack::OnReward");
end;
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt
index b29805283..7f5132a08 100644
--- a/npc/items/shovel.txt
+++ b/npc/items/shovel.txt
@@ -413,6 +413,7 @@ function script shovel_randomtreasure {
Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst,
StrangeCoin, CasinoCoins, MercBoxA, AncientBlueprint);
if (rand2(400) == 136) .@id = EarthPowder; // 0.25% chance
+ if (rand2(2000) == 337) .@id = PirateBandana; // 0.05% chance
delitem TreasureMap, 1;
.@amount=any(1,1,2);
if (.@id == TreasureKey || .@id == CoinBag || .@id == StrangeCoin)
@@ -420,7 +421,8 @@ function script shovel_randomtreasure {
if (.@id == CasinoCoins)
.@amount+=rand2(0,8);
if (.@id == MercBoxA || .@id == AncientBlueprint ||
- .@id == GoldPieces || .@id == EarthPowder)
+ .@id == GoldPieces || .@id == EarthPowder ||
+ .@id == PirateBandana)
.@amount=1;
getitem .@id, .@amount;
ShovelQuests_AssignedMAP$="";