protected override void OnTick() { ++m_Count; if (m_Count == 1) { m_Stone.PublicOverheadMessage(MessageType.Regular, 0x3B2, 1005414); // The stone settles into the ground. } else if (m_Count >= 10) { m_Stone.Location = new Point3D(m_Stone.X, m_Stone.Y, m_Stone.Z - 1); if (m_Count == 16) { Harrower har = new Harrower(); har.MoveToWorld(m_Location, m_Map); m_Caster.SendMessage("The skull summons the Harrower."); m_Stone.Delete(); Stop(); } } }
public void Validate() { if (Validate(m_Power) && Validate(m_Enlightenment) && Validate(m_Venom) && Validate(m_Pain) && Validate(m_Greed) && Validate(m_Death)) { Mobile harrower = Harrower.Spawn(new Point3D(X, Y, Z + 6), this.Map); if (harrower == null) { return; } Clear(m_Power); Clear(m_Enlightenment); Clear(m_Venom); Clear(m_Pain); Clear(m_Greed); Clear(m_Death); } }
public void Validate() { if (this.Validate(this.m_Power) && this.Validate(this.m_Enlightenment) && this.Validate(this.m_Venom) && this.Validate(this.m_Pain) && this.Validate(this.m_Greed) && this.Validate(this.m_Death)) { Mobile harrower = Harrower.Spawn(new Point3D(this.X, this.Y, this.Z + 6), this.Map); if (harrower == null) { return; } this.Clear(this.m_Power); this.Clear(this.m_Enlightenment); this.Clear(this.m_Venom); this.Clear(this.m_Pain); this.Clear(this.m_Greed); this.Clear(this.m_Death); } }