Пример #1
0
        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);
            }
        }
Пример #2
0
        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);
            }
        }