protected override void OnTick()
            {
                m_Mobile.PlaySound(0x11F);
                AOS.Damage(m_Mobile, m_From, Utility.RandomMinMax(30, 50), 0, 100, 0, 0, 0);
                LavaPuddle puddle = new LavaPuddle();

                puddle.MoveToWorld(m_Mobile.Location, m_Mobile.Map);
            }
示例#2
0
        public override void OnDamage(int amount, Mobile from, bool willKill)
        {
            if (Utility.RandomBool() || willKill)
            {
                LavaPuddle puddle = new LavaPuddle();
                puddle.MoveToWorld(Location, this.Map);
            }

            base.OnDamage(amount, from, willKill);
        }