diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-30 20:41:26 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-04-30 20:41:26 -0300 |
commit | fd644e57de6152b0ab6bd16ea6a73633ef4e3c01 (patch) | |
tree | 171d90759456c755f2590e2cfcd510b6ca29d5bc /npc/042-5/ctrl.txt | |
parent | 0220f1ed38324c13ae0526d780afe6bf87192586 (diff) | |
download | serverdata-fd644e57de6152b0ab6bd16ea6a73633ef4e3c01.tar.gz serverdata-fd644e57de6152b0ab6bd16ea6a73633ef4e3c01.tar.bz2 serverdata-fd644e57de6152b0ab6bd16ea6a73633ef4e3c01.tar.xz serverdata-fd644e57de6152b0ab6bd16ea6a73633ef4e3c01.zip |
Prepare GM Gift Box so it can be used reliably
Diffstat (limited to 'npc/042-5/ctrl.txt')
-rw-r--r-- | npc/042-5/ctrl.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/042-5/ctrl.txt b/npc/042-5/ctrl.txt index e3c520cd8..246d85cd7 100644 --- a/npc/042-5/ctrl.txt +++ b/npc/042-5/ctrl.txt @@ -35,12 +35,12 @@ OnInstanceInit: areamonster(.map$, 20, 20, 80, 100, strmobinfo(1, ManaGhost), ManaGhost, max(1, .@mx/10)); // Bonus monsters + if (!rand2(3)) + areamonster(.map$, 20, 20, 60, 100, strmobinfo(1, WhirlyBird), WhirlyBird, 1); if (!rand2(2)) - areamonster(.map$, 20, 20, 80, 100, strmobinfo(1, MagicBif), MagicBif, 1); + areamonster(.map$, 20, 20, 60, 100, strmobinfo(1, SilverChest), SilverChest, 1); if (!rand2(2)) - areamonster(.map$, 20, 20, 80, 100, strmobinfo(1, SilverChest), SilverChest, 1); - if (!rand2(2)) - areamonster(.map$, 20, 20, 80, 100, strmobinfo(1, BronzeChest), BronzeChest, 1); + areamonster(.map$, 20, 20, 60, 100, strmobinfo(1, BronzeChest), BronzeChest, 2); // Next time I promise a Whirly Bird >.> end; @@ -124,6 +124,7 @@ function script KamelotTreasure { mesc l("The chest is unlocked and empty."); close; } + inventoryplace Iten, 1, NPCEyes, 2; mesc l("Open the chest?"); mesc l("Cost: 1 @@", getitemlink(TreasureKey)), 1; @@ -153,10 +154,9 @@ function script KamelotTreasure { else if (.@r < 300) // 0.3% each .@loot=any(MagicApple, PrismGift, EquipmentBlueprintD, ChampionshipBow, Halberd, AncientShield, AncientSword, Setzer, MercBoxD, Shemagh); else - .@loot=any(SacredImmortalityPotion, DivineApple, ArcmageBoxset, GoldenApple, MercBoxA, MercBoxB, MercBoxC, MoveSpeedPotion, AtroposMixture, EverburnPowder, IridiumOre, PlatinumOre, YerbaMate, SmokeGrenade, SnakeEgg, LachesisBrew, BoneAmmoBox, GoldPieces, SilverGift, TerraniteOre, LeadOre, TinOre, SilverOre, GoldOre, TitaniumOre, FluoPowder, EquipmentBlueprintC, AlchemyBlueprintC, AlchemyBlueprintD, AncientBlueprint, JasmineTea, MoubooSteak, ClothoLiquor, Coal, RedPlushWine, HastePotion, CoinBag, StrengthPotion, Dagger, BronzeGift, IronOre, CopperOre, BlueDye, EquipmentBlueprintB, AlchemyBlueprintB, AlchemyBlueprintC, OolongTea, Croconut, Potatoz, MoubooSteak, ClothoLiquor, Coal, SmallMushroom, HastePotion, StrengthPotion, WoodenLog, LeatherPatch, DwarvenSake, EquipmentBlueprintA, EquipmentBlueprintB, AlchemyBlueprintA, SpearmintTea, TreasureMap, FatesPotion, CrazyRum, LightGreenDiamond, EarthPowder, WoodenLog, LeatherPatch, FluoPowder, ChamomileTea); // > 70 options (~1% each) + .@loot=any(SacredImmortalityPotion, DivineApple, ArcmageBoxset, GoldenApple, MercBoxA, MercBoxB, MercBoxC, MoveSpeedPotion, AtroposMixture, EverburnPowder, IridiumOre, PlatinumOre, YerbaMate, SmokeGrenade, SnakeEgg, LachesisBrew, BoneAmmoBox, GoldPieces, SilverGift, TerraniteOre, LeadOre, TinOre, SilverOre, GoldOre, TitaniumOre, FluoPowder, EquipmentBlueprintC, AlchemyBlueprintC, AlchemyBlueprintD, AncientBlueprint, JasmineTea, MoubooSteak, ClothoLiquor, Coal, RedPlushWine, HastePotion, CoinBag, StrengthPotion, Pearl, BronzeGift, IronOre, CopperOre, BlueDye, EquipmentBlueprintB, AlchemyBlueprintB, AlchemyBlueprintC, OolongTea, Croconut, CelestiaTea, MoubooSteak, ClothoLiquor, Coal, SmallMushroom, HastePotion, StrengthPotion, WoodenLog, LeatherPatch, DwarvenSake, EquipmentBlueprintA, EquipmentBlueprintB, AlchemyBlueprintA, SpearmintTea, TreasureMap, FatesPotion, CrazyRum, LightGreenDiamond, EarthPowder, WoodenLog, MysteriousBottle, FluoPowder, ChamomileTea); // > 70 options (~1% each) - inventoryplace .@loot, 1; mesc l("You find @@ inside!", getitemlink(.@loot)); getitem .@loot, 1; } else { |