Esempio n. 1
0
        private void BuildArmor(WorldObject wo)
        {
            ArmorProfile   = new ArmorProfile(wo);
            ArmorHighlight = ArmorMaskHelper.GetHighlightMask(wo);
            ArmorColor     = ArmorMaskHelper.GetColorMask(wo);

            AddSpells(SpellBook, wo);
        }
Esempio n. 2
0
        public void BuildArmor(WorldObject wo, WorldObject wielder)
        {
            ArmorProfile   = new ArmorProfile(wo, wielder);
            ArmorHighlight = ArmorMaskHelper.GetHighlightMask(wo, wielder);
            ArmorColor     = ArmorMaskHelper.GetColorMask(wo, wielder);

            // item enchantments can also be on wielder currently
            AddSpells(SpellBook, wielder);
        }
Esempio n. 3
0
        private void BuildArmor(WorldObject wo)
        {
            if (!Success)
            {
                return;
            }

            ArmorProfile   = new ArmorProfile(wo);
            ArmorHighlight = ArmorMaskHelper.GetHighlightMask(wo);
            ArmorColor     = ArmorMaskHelper.GetColorMask(wo);

            AddEnchantments(wo);
        }