public ShadowguardCypress(ShadowguardEncounter encounter, VirtueType type) : base(Utility.RandomList(3320, 3323, 3326, 3329)) { VirtueType = type; Encounter = encounter; Foilage = new ShadowguardCypressFoilage(Utility.RandomMinMax(this.ItemID + 1, this.ItemID + 2), this); Movable = false; }
// 0xD96, 0xD9A, public ShadowguardCypress(OrchardEncounter encounter, VirtueType type) : base(3329) { VirtueType = type; Encounter = encounter; Foilage = new ShadowguardCypressFoilage(Utility.RandomBool() ? 0xD96 : 0xD9A, this); Movable = false; }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); Foilage = reader.ReadItem() as ShadowguardCypressFoilage; if (Foilage != null) { Foilage.Tree = this; } }