From 2e34140f45f0873cf300bb84d0092561224dad3f Mon Sep 17 00:00:00 2001 From: NetSysFire <59517351+NetSysFire@users.noreply.github.com> Date: Tue, 28 Feb 2023 22:53:55 +0100 Subject: add wolvern summoning scroll to rares, some maggot summoning scroll amount balancing --- npc/functions/treasure.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/npc/functions/treasure.txt b/npc/functions/treasure.txt index de2a9cdc6..80bc75bc9 100644 --- a/npc/functions/treasure.txt +++ b/npc/functions/treasure.txt @@ -65,7 +65,7 @@ function script TreasureBox { // rare } else if (.@r < 1600 || .@t == 0) { .@money=rand(100, 300); - .@loot=any(MercBoxB, MoubooSteak, ClothoLiquor, Coal, RedPlushWine, PrecisionPotion, CoinBag, DodgePotion, MoveSpeedPotion, Lockpicks, BronzeGift, IronOre, CopperOre, BlueDye, EquipmentBlueprintB, AlchemyBlueprintB, AlchemyBlueprintC, OolongTea, Curshroom); + .@loot=any(MercBoxB, MoubooSteak, ClothoLiquor, Coal, RedPlushWine, PrecisionPotion, CoinBag, DodgePotion, MoveSpeedPotion, Lockpicks, BronzeGift, IronOre, CopperOre, BlueDye, EquipmentBlueprintB, AlchemyBlueprintB, AlchemyBlueprintC, OolongTea, Curshroom, ScrollSWolvern); if (.@loot == Coal) .@count=rand(6, 10); else if (.@loot == Lockpicks) @@ -79,7 +79,7 @@ function script TreasureBox { // uncommon } else if (.@r < 5200) { .@money=rand(20, 80); - .@loot=any(MercBoxA, SmokeGrenade, Potatoz, MoubooSteak, ClothoLiquor, Coal, SmallMushroom, HastePotion, StrengthPotion, WoodenLog, LeatherPatch, Lockpicks, Beer, StrangeCoin, EquipmentBlueprintA, EquipmentBlueprintB, AlchemyBlueprintA, SpearmintTea, TreasureMap, DungeonMap, IcedBottle); + .@loot=any(MercBoxA, SmokeGrenade, Potatoz, MoubooSteak, ClothoLiquor, Coal, SmallMushroom, HastePotion, StrengthPotion, WoodenLog, LeatherPatch, Lockpicks, Beer, StrangeCoin, EquipmentBlueprintA, EquipmentBlueprintB, AlchemyBlueprintA, SpearmintTea, TreasureMap, DungeonMap, IcedBottle, ScrollSCave); if (.@loot == Coal) .@count=rand(4, 6); else if (.@loot == Potatoz) @@ -88,6 +88,8 @@ function script TreasureBox { .@count=rand(3, 4); else if (.@loot == StrangeCoin) .@count=rand(1, 10); + else if (.@loot == ScrollSCave) + .@count=rand(2, 5); else if (.@loot == IcedBottle) { .@count=rand(2, 3); if (season() == SUMMER) @@ -95,7 +97,7 @@ function script TreasureBox { } // common } else { - .@loot=any(FatesPotion, PiberriesInfusion, EmptyBottle, ChocolateBar, Chagashroom, Plushroom, SmallMushroom, MaggotSlime, RawLog, LeatherPatch, Coal, EmptyBox, ChamomileTea, EquipmentBlueprintA, ScrollSCave); + .@loot=any(FatesPotion, PiberriesInfusion, EmptyBottle, ChocolateBar, Chagashroom, Plushroom, SmallMushroom, MaggotSlime, RawLog, LeatherPatch, Coal, EmptyBox, ChamomileTea, EquipmentBlueprintA, ScrollSCave, ScrollSMaggot); if (.@loot == Coal || .@loot == EmptyBottle) .@count=rand(1, 3); else if (.@loot == Chagashroom || .@loot == Plushroom) @@ -104,6 +106,8 @@ function script TreasureBox { .@count=rand(2, 4); else if (.@loot == LeatherPatch) .@count=rand(1, 2); + else if (.@loot == ScrollSMaggot) + .@count=rand(1, 5); else if (.@loot == MaggotSlime) { .@count=rand(30, 40); dispbottom l("Eww! Some maggots got squashed when the chest was opened!"); -- cgit v1.2.3-60-g2f50