summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNetSysFire <59517351+NetSysFire@users.noreply.github.com>2023-02-28 22:53:55 +0100
committerNetSysFire <59517351+NetSysFire@users.noreply.github.com>2023-02-28 22:53:55 +0100
commit2e34140f45f0873cf300bb84d0092561224dad3f (patch)
tree689a5daec6c234ebed4efe68fadea7bbbce8392e
parent155303d5e448ac7d256e6ebb57b2276797484cdc (diff)
downloadserverdata-2e34140f45f0873cf300bb84d0092561224dad3f.tar.gz
serverdata-2e34140f45f0873cf300bb84d0092561224dad3f.tar.bz2
serverdata-2e34140f45f0873cf300bb84d0092561224dad3f.tar.xz
serverdata-2e34140f45f0873cf300bb84d0092561224dad3f.zip
add wolvern summoning scroll to rares, some maggot summoning scroll amount balancing
-rw-r--r--npc/functions/treasure.txt10
1 files 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!");