Esempio n. 1
0
 public RunTimer( Grubber grubber )
     : base(TimeSpan.FromSeconds( 0.15 ), TimeSpan.FromSeconds( 0.15 ))
 {
     m_Grubber = grubber;
 }
Esempio n. 2
0
 public DeleteTimer( Grubber grubber )
     : base(TimeSpan.FromMinutes( 5.0 ))
 {
     m_Grubber = grubber;
 }
Esempio n. 3
0
 public RunTimer(Grubber grubber)
     : base(TimeSpan.FromSeconds(0.15), TimeSpan.FromSeconds(0.15))
 {
     m_Grubber = grubber;
 }
Esempio n. 4
0
        public override int LockPick( Mobile from )
        {
            if ( Picker == null && 0.05 > Utility.RandomDouble() )
            {
                Item item = PickRandomItemFromChest();

                if ( item != null )
                {
                    Grubber grubber = new Grubber();
                    grubber.PackItem( item );

                    grubber.MoveToWorld( TreasureMap.GetRandomSpawnLocation( Location, Map ), Map );

                    grubber.PublicOverheadMessage( Network.MessageType.Regular, 0x3B2, false, "*a grubber appears and ganks a piece of your loot*" );
                }
            }

            return base.LockPick( from );
        }
Esempio n. 5
0
 public DeleteTimer(Grubber grubber)
     : base(TimeSpan.FromMinutes(5.0))
 {
     m_Grubber = grubber;
 }