summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNetSysFire <59517351+NetSysFire@users.noreply.github.com>2023-02-28 22:49:47 +0100
committerNetSysFire <59517351+NetSysFire@users.noreply.github.com>2023-02-28 22:49:47 +0100
commit155303d5e448ac7d256e6ebb57b2276797484cdc (patch)
treeb16d78b33380426f6490a2cb61570dd28719a428
parent7d77a7f30a50d2ae49e471724459278865427b3f (diff)
downloadserverdata-155303d5e448ac7d256e6ebb57b2276797484cdc.tar.gz
serverdata-155303d5e448ac7d256e6ebb57b2276797484cdc.tar.bz2
serverdata-155303d5e448ac7d256e6ebb57b2276797484cdc.tar.xz
serverdata-155303d5e448ac7d256e6ebb57b2276797484cdc.zip
add cave maggot scroll to commons, increase count of rare clotho liquor, add slight attack speed buff to icedbottle while summer
-rw-r--r--db/re/item_db.conf3
-rw-r--r--npc/functions/treasure.txt11
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)