예제 #1
0
            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);
        }