private void BuildArmor(WorldObject wo) { ArmorProfile = new ArmorProfile(wo); ArmorHighlight = ArmorMaskHelper.GetHighlightMask(wo); ArmorColor = ArmorMaskHelper.GetColorMask(wo); AddSpells(SpellBook, wo); }
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); }
private void BuildArmor(WorldObject wo) { if (!Success) { return; } ArmorProfile = new ArmorProfile(wo); ArmorHighlight = ArmorMaskHelper.GetHighlightMask(wo); ArmorColor = ArmorMaskHelper.GetColorMask(wo); AddEnchantments(wo); }