Exemple #1
0
        public virtual void OnVeinCut(Mobile from, PlagueBeastVein vein)
        {
            if (vein.Hue != Hue)
            {
                if (!Opened && m_Veins > 0 && --m_Veins == 0)
                {
                    FinishOpening(from);
                }
            }
            else
            {
                from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 1071901); // * As you cut the vein, a cloud of poison is expelled from the plague beast's organ, and the plague beast dissolves into a puddle of goo *
                from.ApplyPoison(from, Poison.Greater);
                from.PlaySound(0x22F);

                if (Owner != null)
                {
                    Owner.Unfreeze();
                    Owner.Kill();
                }
            }
        }
        public virtual void OnVeinCut( Mobile from, PlagueBeastVein vein )
        {
            if ( vein.Hue != Hue )
            {
                if ( !Opened && m_Veins > 0 && --m_Veins == 0 )
                    FinishOpening( from );
            }
            else
            {
                from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 1071901 ); // * As you cut the vein, a cloud of poison is expelled from the plague beast's organ, and the plague beast dissolves into a puddle of goo *
                from.ApplyPoison( from, Poison.Greater );
                from.PlaySound( 0x22F );

                if ( Owner != null )
                {
                    Owner.Unfreeze();
                    Owner.Kill();
                }
            }
        }