Beispiel #1
0
        public override void Spawn(Point3D point, Map map)
        {
            base.Spawn(point, map);

            Type itemType = null;

            switch (Utility.RandomMinMax(1, 1))
            {
            case 1: itemType = typeof(UOACZScavengeFishing); break;
            }

            if (itemType != null)
            {
                UOACZScavengeFishing item = (UOACZScavengeFishing)Activator.CreateInstance(itemType);

                if (item != null)
                {
                    item.m_Spawner = this;

                    item.MoveToWorld(point, map);
                    m_Items.Add(item);
                }
            }
        }