From fbffaa62b04962741e8311114d1c0ec9b4dd050a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 16 May 2020 13:26:51 -0300 Subject: Implement Boss Gifts, which will replace the dropped gifts --- db/re/item_db.conf | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) (limited to 'db/re/item_db.conf') diff --git a/db/re/item_db.conf b/db/re/item_db.conf index fef2749c1..c3fd02990 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -16064,6 +16064,84 @@ item_db: ( callfunc("SC_Bonus", SC_KAIZEL, 60000, 40); // Revives with 40% HP if you die "> }, +{ + Id: 8021 + AegisName: "BronzeBossGift" + Name: "Bronze Boss Gift" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 25 + KeepAfterUse: false + Refine: false + Trade: { + noselltonpc: true + nogstorage: true + nomail: true + noauction: true + } + Script: <" + setarray .@r, StrangeCoin, StrangeCoin, StrangeCoin, StrangeCoin, SharpKnife, BugLeg, Cheese, Aquada, BronzeGladius, Aquada, Lockpicks, IronAmmoBox, ArrowAmmoBox, ElixirOfLife; + .@n=rand(getarraysize(.@r)); + + if (.@n > 3) + getitem .@r[.@n], 1; + else + getitem .@r[.@n], rand(5,10); + "> +}, +{ + Id: 8022 + AegisName: "SilverBossGift" + Name: "Silver Boss Gift" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 45 + KeepAfterUse: false + Refine: false + Trade: { + noselltonpc: true + nogstorage: true + nomail: true + noauction: true + } + Script: <" + setarray .@r, StrangeCoin, StrangeCoin, StrangeCoin, StrangeCoin, StrangeCoin, SnakeEgg, BronzeGift, Dagger, Aquada, Chagashroom, MoubooSteak, RedApple, IronOre, Coal, CursedAmmoBox, IronAmmoBox, SilverRing; + .@n=rand(getarraysize(.@r)); + + if (.@n > 4) + getitem .@r[.@n], 1; + else + getitem .@r[.@n], rand(9,21); + "> +}, +{ + Id: 8023 + AegisName: "GoldenBossGift" + Name: "Golden Boss Gift" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 65 + KeepAfterUse: false + Refine: false + Trade: { + noselltonpc: true + nogstorage: true + nomail: true + noauction: true + } + Script: <" + setarray .@r, StrangeCoin, StrangeCoin, CasinoCoins, IronIngot, SaxsoKey, GoldenApple, GoldenRing, GoldOre, PoisonAmmoBox, CursedAmmoBox, MercBoxA, AncientBlueprint, SilverGift; + .@n=rand(getarraysize(.@r)); + + if (.@n > 2) + getitem .@r[.@n], 1; + else + getitem .@r[.@n], rand(20,40); + "> +}, ) -- cgit v1.2.3-70-g09d2