Inheritance: BaseCreature
Exemple #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);
            }
        }
		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 );
			}
		}