public BaseSummoningAltar() : base(0xBD2) { Movable = false; Visible = false; Name = "summoning altar"; m_Altar = new BaseAltar(this); m_Altar.Hue = HueInactive; m_Platform = new BasePlatform(this); m_RedSkulls = new List<Item>(); m_WhiteSkulls = new List<Item>(); }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); m_PreCreatedChampion = reader.ReadMobile() as BaseCreature; m_Champion = reader.ReadMobile() as BaseCreature; m_Platform = reader.ReadItem() as BasePlatform; m_Altar = reader.ReadItem() as BaseAltar; m_Active = reader.ReadBool(); m_iMainQueue = reader.ReadInt(); m_RedSkulls = reader.ReadStrongItemList(); m_WhiteSkulls = reader.ReadStrongItemList(); if (m_Champion != null && !m_Champion.Deleted) m_Champion.Spawner = this; if (m_Platform == null || m_Altar == null) Delete(); else CheckSpawn(); }