Ejemplo n.º 1
0
        public virtual void BonusAction(PlayerMobile player, Mobile attacker)
        {
            Unicorn c = new Unicorn();

            c.SetControlMaster(this);
            c.MoveToWorld(this.Location, this.Map);
            c.ControlOrder = OrderType.Guard;

            new InternalTimer(c).Start();

            if (player != null && player.Poisoned)
            {
                if (player.CurePoison(this))
                {
                    player.SendLocalizedMessage(1010059);                       //You have been cured of all poisons.

                    player.FixedParticles(0x373A, 10, 15, 5012, EffectLayer.Waist);
                    player.PlaySound(0x1E0);
                }
            }
        }
Ejemplo n.º 2
0
        public virtual void BonusAction( PlayerMobile player, Mobile attacker )
        {
            Unicorn c = new Unicorn();
            c.SetControlMaster( this );
            c.MoveToWorld( this.Location, this.Map );
            c.ControlOrder = OrderType.Guard;

            new InternalTimer( c ).Start();

            if( player != null && player.Poisoned )
            {
                if( player.CurePoison( this ) )
                {
                    player.SendLocalizedMessage( 1010059 ); //You have been cured of all poisons.

                    player.FixedParticles( 0x373A, 10, 15, 5012, EffectLayer.Waist );
                    player.PlaySound( 0x1E0 );
                }
            }
        }