From 155303d5e448ac7d256e6ebb57b2276797484cdc Mon Sep 17 00:00:00 2001 From: NetSysFire <59517351+NetSysFire@users.noreply.github.com> Date: Tue, 28 Feb 2023 22:49:47 +0100 Subject: add cave maggot scroll to commons, increase count of rare clotho liquor, add slight attack speed buff to icedbottle while summer --- db/re/item_db.conf | 3 +++ npc/functions/treasure.txt | 11 ++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/db/re/item_db.conf b/db/re/item_db.conf index e02612173..b61ca09f1 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -18936,6 +18936,9 @@ item_db: ( // Gives you 5 extra minutes of cooldown @coolio=max(gettimetick(2), @coolio)+300; itemheal (MaxHp/200), 0; + if (season() == SUMMER) { + callfunc("SC_Bonus", 15, SC_ATTHASTE_POTION1, 5); + } "> }, { diff --git a/npc/functions/treasure.txt b/npc/functions/treasure.txt index dcf47a269..de2a9cdc6 100644 --- a/npc/functions/treasure.txt +++ b/npc/functions/treasure.txt @@ -55,7 +55,7 @@ function script TreasureBox { // super rare } else if (.@t % 50 == 0 || .@r < 200) { .@money=rand(500, 750); - .@loot=any(MercBoxC, ScrollMagnusHealB, SnakeEgg, LachesisBrew, ArrowAmmoBox, GoldPieces, SilverGift, TerraniteOre, LeadOre, TinOre, SilverOre, GoldOre, TitaniumOre, FluoPowder, Lockpicks, EquipmentBlueprintC, AlchemyBlueprintC, AlchemyBlueprintD, AncientBlueprint, YerbaMate, JasmineTea, DeathPotion, SacredLifePotion, SacredManaPotion, BrokenWarpCrystal, PurificationPotion, GoldenApple); + .@loot=any(MercBoxC, ScrollMagnusHealB, SnakeEgg, LachesisBrew, ArrowAmmoBox, GoldPieces, SilverGift, TerraniteOre, LeadOre, TinOre, SilverOre, GoldOre, TitaniumOre, FluoPowder, Lockpicks, EquipmentBlueprintC, AlchemyBlueprintC, AlchemyBlueprintD, AncientBlueprint, YerbaMate, JasmineTea, DeathPotion, SacredLifePotion, SacredManaPotion, BrokenWarpCrystal, PurificationPotion, GoldenApple); if (.@loot == SnakeEgg) .@count=rand(2, 6); else if (.@loot == Lockpicks) @@ -74,6 +74,8 @@ function script TreasureBox { .@count=rand(2, 5); else if (.@loot == CopperOre) .@count=rand(1, 3); + else if (.@loot == ClothoLiquor) + .@count=rand(2, 5); // uncommon } else if (.@r < 5200) { .@money=rand(20, 80); @@ -86,11 +88,14 @@ function script TreasureBox { .@count=rand(3, 4); else if (.@loot == StrangeCoin) .@count=rand(1, 10); - else if (.@loot == IcedBottle) + else if (.@loot == IcedBottle) { .@count=rand(2, 3); + if (season() == SUMMER) + dispbottom l("Just the right thing to cool down right now!"); + } // common } else { - .@loot=any(FatesPotion, PiberriesInfusion, EmptyBottle, ChocolateBar, Chagashroom, Plushroom, SmallMushroom, MaggotSlime, RawLog, LeatherPatch, Coal, EmptyBox, ChamomileTea, EquipmentBlueprintA); + .@loot=any(FatesPotion, PiberriesInfusion, EmptyBottle, ChocolateBar, Chagashroom, Plushroom, SmallMushroom, MaggotSlime, RawLog, LeatherPatch, Coal, EmptyBox, ChamomileTea, EquipmentBlueprintA, ScrollSCave); if (.@loot == Coal || .@loot == EmptyBottle) .@count=rand(1, 3); else if (.@loot == Chagashroom || .@loot == Plushroom) -- cgit v1.2.3-60-g2f50