Inheritance: BaseCreature
Ejemplo n.º 1
0
        public void SpawnOrc(Mobile target)
        {
            Defrag();

            Map map = target.Map;

            if (map != null && m_Orcs.Count <= 3)
            {
                BaseCreature bc = new Corpser();
                //Should never be null.
                bc.Team      = this.Team;
                bc.Combatant = target;
                bc.MoveToWorld(target.Location, target.Map);
                m_Orcs.Add(bc);
            }
        }
Ejemplo n.º 2
0
		public void SpawnOrc( Mobile target )
		{
			Defrag();

			Map map = target.Map;

			if ( map != null && m_Orcs.Count <= 3 )
			{
				BaseCreature bc = new Corpser();
				//Should never be null.
				bc.Team = this.Team;
				bc.Combatant = target;
				bc.MoveToWorld( target.Location, target.Map );
				m_Orcs.Add( bc );
			}
		}