Ejemplo n.º 1
0
        public static void ApplyAttribute(Mobile from, BookOfSpellCrafts book, int craftId, BaseHat hat, AosArmorAttribute attribute, int minimum, int maximum)
        {
            CheckItem(from, hat, (hat.ClothingAttributes[attribute] == 0));
            UseMagicJewels(from, book, hat, SpellCraftConfig.MagicJewelRequirements[craftId]);
            int scalar = ComputeSkillScalar(from);

            SpellCraft.ApplyAttribute(hat.ClothingAttributes, SpellCraftConfig.MinimumIntensity * scalar, SpellCraftConfig.MaximumIntensity * scalar, attribute, minimum, maximum);
            MarkHat(from, hat);
        }
Ejemplo n.º 2
0
 public SpellCraftException( SpellCraft.MsgNums msgId )
     : base("")
 {
     m_MessageId = (int)msgId;
 }