예제 #1
0
            public InternalTimer(ScaleCollar collar, BattleChickenLizard lizard, Mobile owner) : base(TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(1))
            {
                m_Collar = collar;
                m_Lizard = lizard;
                m_Owner = owner;
                m_EndTime = DateTime.Now + TimeSpan.FromSeconds(30);

                lizard.FixedEffect(0x376A, 1, 32);
            }
예제 #2
0
		public virtual void OnHatch(Mobile from)
		{
			BaseCreature bc;

            if (m_IsBattleChicken)
            {
                from.SendLocalizedMessage(1112478); //You hatch a battle chicken lizard!!
                bc = new BattleChickenLizard();
                bc.Hue = this.Hue;
            }
            else
            {
                from.SendLocalizedMessage(1112477); //You hatch a chicken lizard.
                bc = new ChickenLizard();
            }
				
			bc.MoveToWorld(from.Location, from.Map);
            Delete();
		}