From 287e4b15ea6a2f10068c776abc89cf0a444c2c7d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 19 Jun 2019 09:05:29 -0300 Subject: Treasure Map can now jackpot up to 2000 GP (instead of max 1000 GP) --- db/re/item_db.conf | 2 +- npc/items/shovel.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 303f0d6f2..a78b91ce3 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -12258,7 +12258,7 @@ item_db: ( { Id: 7142 AegisName: "Item7142" - Name: "Item 7142" + Name: "Item 7142" // Embryo }, { Id: 7400 diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt index f528764c0..f414cd055 100644 --- a/npc/items/shovel.txt +++ b/npc/items/shovel.txt @@ -392,6 +392,8 @@ function script shovel_randomtreasure { Diamond,Ruby,Emerald,Sapphire,Topaz,Amethyst); delitem TreasureMap, 1; .@amount=any(1,1,2); + if (.@id == TreasureKey || .@id == CoinBag) + .@amount+=any(0,1,0,1,2); getitem .@id, .@amount; ShovelQuests_AssignedMAP$=""; ShovelQuests_AssignedX=0; -- cgit v1.2.3-70-g09d2