using Server.Items; using System.Collections.Generic; namespace Server.Mobiles { public class SBMystic : SBInfo { private readonly List m_BuyInfo = new InternalBuyInfo(); private readonly IShopSellInfo m_SellInfo = new InternalSellInfo(); public override IShopSellInfo SellInfo => m_SellInfo; public override List BuyInfo => m_BuyInfo; public class InternalBuyInfo : List { public InternalBuyInfo() { Add(new GenericBuyInfo(typeof(PurgeMagicScroll), 18, 10, 0x2DA0, 0, true)); Add(new GenericBuyInfo(typeof(EnchantScroll), 23, 10, 0x2DA1, 0, true)); Add(new GenericBuyInfo(typeof(SleepScroll), 28, 10, 0x2DA2, 0, true)); Add(new GenericBuyInfo(typeof(EagleStrikeScroll), 33, 10, 0x2DA3, 0, true)); Add(new GenericBuyInfo(typeof(AnimatedWeaponScroll), 38, 10, 0x2DA4, 0, true)); Add(new GenericBuyInfo(typeof(StoneFormScroll), 43, 10, 0x2DA5, 0, true)); Add(new GenericBuyInfo(typeof(MysticBook), 18, 10, 0x2D9D, 0, true)); Add(new GenericBuyInfo(typeof(ScribesPen), 8, 10, 0xFBF, 0, true)); Add(new GenericBuyInfo(typeof(BlankScroll), 5, 20, 0x0E34, 0, true)); Add(new GenericBuyInfo(typeof(RecallRune), 15, 10, 0x1F14, 0, true)); Add(new GenericBuyInfo(typeof(RefreshPotion), 15, 10, 0xF0B, 0, true)); Add(new GenericBuyInfo(typeof(AgilityPotion), 15, 10, 0xF08, 0, true)); Add(new GenericBuyInfo(typeof(NightSightPotion), 15, 10, 0xF06, 0, true)); Add(new GenericBuyInfo(typeof(LesserHealPotion), 15, 10, 0xF0C, 0, true)); Add(new GenericBuyInfo(typeof(StrengthPotion), 15, 10, 0xF09, 0, true)); Add(new GenericBuyInfo(typeof(LesserPoisonPotion), 15, 10, 0xF0A, 0, true)); Add(new GenericBuyInfo(typeof(LesserCurePotion), 15, 10, 0xF07, 0, true)); Add(new GenericBuyInfo(typeof(LesserExplosionPotion), 21, 10, 0xF0D, 0, true)); Add(new GenericBuyInfo(typeof(BlackPearl), 5, 20, 0xF7A, 0)); Add(new GenericBuyInfo(typeof(Bloodmoss), 5, 20, 0xF7B, 0)); Add(new GenericBuyInfo(typeof(Garlic), 3, 20, 0xF84, 0)); Add(new GenericBuyInfo(typeof(Ginseng), 3, 20, 0xF85, 0)); Add(new GenericBuyInfo(typeof(MandrakeRoot), 3, 20, 0xF86, 0)); Add(new GenericBuyInfo(typeof(Nightshade), 3, 20, 0xF88, 0)); Add(new GenericBuyInfo(typeof(SulfurousAsh), 3, 20, 0xF8C, 0)); Add(new GenericBuyInfo(typeof(SpidersSilk), 3, 20, 0xF8D, 0)); Add(new GenericBuyInfo(typeof(Bone), 3, 20, 0xf7e, 0)); Add(new GenericBuyInfo(typeof(FertileDirt), 3, 20, 0xF81, 0)); Add(new GenericBuyInfo(typeof(NetherBoltScroll), 8, 20, 0x2D9E, 0)); Add(new GenericBuyInfo(typeof(HealingStoneScroll), 13, 20, 0x2D9F, 0)); } } public class InternalSellInfo : GenericSellInfo { public InternalSellInfo() { Add(typeof(PurgeMagicScroll), 9); Add(typeof(EnchantScroll), 11); Add(typeof(SleepScroll), 14); Add(typeof(EagleStrikeScroll), 16); Add(typeof(AnimatedWeaponScroll), 19); Add(typeof(StoneFormScroll), 21); Add(typeof(MysticBook), 9); Add(typeof(RecallRune), 13); Add(typeof(BlackPearl), 3); Add(typeof(Bloodmoss), 4); Add(typeof(MandrakeRoot), 2); Add(typeof(Garlic), 2); Add(typeof(Ginseng), 2); Add(typeof(Nightshade), 2); Add(typeof(SpidersSilk), 2); Add(typeof(SulfurousAsh), 2); Add(typeof(NetherBoltScroll), 4); Add(typeof(HealingStoneScroll), 6); } } } }