summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-03 13:10:41 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-03 13:10:41 -0300
commite27585c322f8191065973666cf43b56288b40297 (patch)
tree307c446523433d9769f02023daa5f9405a6bbd9d /npc
parent18ece1b185182bec4468477e67cd7fec5cd5ef42 (diff)
downloadserverdata-e27585c322f8191065973666cf43b56288b40297.tar.gz
serverdata-e27585c322f8191065973666cf43b56288b40297.tar.bz2
serverdata-e27585c322f8191065973666cf43b56288b40297.tar.xz
serverdata-e27585c322f8191065973666cf43b56288b40297.zip
Rebalance Storage Room a tiny bit
Diffstat (limited to 'npc')
-rw-r--r--npc/034-4/storage.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/npc/034-4/storage.txt b/npc/034-4/storage.txt
index 423f57412..893971f32 100644
--- a/npc/034-4/storage.txt
+++ b/npc/034-4/storage.txt
@@ -98,7 +98,7 @@ OnTimer30000:
OnTimer45000:
if (.sto < .mto)
- setnpctimer 25000;
+ setnpctimer 22000;
monster(.mp$, 44, 78, strmobinfo(1, BlackMamba), BlackMamba, 1);
end;
@@ -116,7 +116,7 @@ function storageutil {
// Super rare drop?! (~1.5%)
if (.@r < 120 || .@r > 10000) {
- makeitem(any(DeathPotion, PoisonAmmoBox, AncientBlueprint, ThornAmmoBox, MercBoxD, ScholarshipBadge, DarkDesertMushroom), 1, .mp$, rand2(30, 71), rand2(44, 86));
+ makeitem(any(DeathPotion, PoisonAmmoBox, AncientBlueprint, ThornAmmoBox, MercBoxD, ScholarshipBadge, DarkDesertMushroom), 1, .mp$, rand2(30, 35), rand2(83, 86));
}
// Super strong monster?! (4%)
@@ -162,10 +162,12 @@ function storageutil {
monster(.mp$, 44, 78, strmobinfo(1, .@mob), .@mob, 1+getmapusers(.mp$));
// Compulsory item drop
+ // If it falls on a collision, the item won't be created at all
freeloop(true);
- for (.@i=0; .@i <= getmapusers(.mp$); .@i++) {
- makeitem(any(Wurtzite, ShadowHerb, AlizarinHerb, DiamondPowder, RubyPowder, EmeraldPowder, SapphirePowder, TopazPowder, AmethystPowder, CopperOre, IronOre, Coal, LeadOre, Lifestone, ScorpionClaw, WhiteFur, SquirrelPelt, TinOre, PileOfAsh, EmptyBottle, FluoPowder, TerraniteOre, SulfurPowder, LeatherPatch, LazuriteShard, Root, ReedBundle, GambogeHerb, MauveHerb, CobaltHerb, MaggotSlime, BugLeg, RawLog, BanditHood, BatWing, IronPowder, ArtichokeHerb, LeftCraftyWing, RightCraftyWing, Coral, BlueCoral, Pearl, Moss, RattoTail, RattoTeeth, Knife, SharpKnife, StrangeCoin, PurificationPotion, IcedBottle, Grenade, SmokeGrenade, TreasureMap, AgiPotionA, VitPotionA, IntPotionA, DexPotionA, LukPotionA, EmptyBox, HastePotion, StrengthPotion, Croconut, ChocolateBar, ChocolateBiscuit, PinkieLeg, Potatoz, Coffee, SnakeEgg, Plushroom, Chagashroom, Honey, MoubooSteak, Milk, Orange, CherryCake, Piberries, Aquada, Cheese, Bread, Acorn, Manana), 1, .mp$, rand2(30, 71), rand2(44, 86));
+ for (.@i=0; .@i <= ((.sto/2)+getmapusers(.mp$)); .@i++) {
+ makeitem(any(Wurtzite, ShadowHerb, AlizarinHerb, DiamondPowder, RubyPowder, EmeraldPowder, SapphirePowder, TopazPowder, AmethystPowder, CopperOre, IronOre, Coal, LeadOre, Lifestone, ScorpionClaw, WhiteFur, SquirrelPelt, TinOre, PileOfAsh, EmptyBottle, FluoPowder, TerraniteOre, SulfurPowder, LeatherPatch, LazuriteShard, Root, ReedBundle, GambogeHerb, MauveHerb, CobaltHerb, MaggotSlime, BugLeg, RawLog, BanditHood, BatWing, IronPowder, ArtichokeHerb, LeftCraftyWing, RightCraftyWing, Coral, BlueCoral, Pearl, Moss, RattoTail, RattoTeeth, Knife, SharpKnife, StrangeCoin, PurificationPotion, IcedBottle, Grenade, SmokeGrenade, TreasureMap, AgiPotionA, VitPotionA, IntPotionA, DexPotionA, LukPotionA, EmptyBox, HastePotion, StrengthPotion, Croconut, ChocolateBar, ChocolateBiscuit, PinkieLeg, Potatoz, Coffee, SnakeEgg, Plushroom, Chagashroom, Honey, MoubooSteak, Milk, Orange, CherryCake, Piberries, Aquada, Cheese, Bread, Acorn, Manana), 1, .mp$, rand2(30, 71), rand2(44, 87));
}
+ freeloop(false);
return;
}