public MageGuildmaster() : base("mage") { this.SetSkill(SkillName.EvalInt, 85.0, 100.0); this.SetSkill(SkillName.Inscribe, 65.0, 88.0); this.SetSkill(SkillName.MagicResist, 64.0, 100.0); this.SetSkill(SkillName.Magery, 90.0, 100.0); this.SetSkill(SkillName.Wrestling, 60.0, 83.0); this.SetSkill(SkillName.Meditation, 85.0, 100.0); this.SetSkill(SkillName.Macing, 36.0, 68.0); PendingConvert.CreateExpireTimer(m_PendingConverts); }
public override bool OnDragDrop(Mobile from, Item dropped) { PendingConvert convert = null; foreach (PendingConvert c in m_PendingConverts) { if (c.From == from && c.Armor == dropped) { convert = c; break; } } if (convert == null) { return(base.OnDragDrop(from, dropped)); } m_PendingConverts.Remove(convert); from.CloseGump(typeof(ConfirmGump)); from.SendGump(new ConfirmGump(convert.From, convert.Armor)); return(false); // Want the item to stay in the player's pack }