예제 #1
0
        private static int MoonGen(PMList list)
        {
            foreach (PMEntry entry in list.Entries)
            {
                Item item = new PublicMoongate();

                item.MoveToWorld(entry.Location, list.Map);
            }

            return(list.Entries.Length);
        }
		private static int MoonGen(PMList list)
		{
			foreach (PMEntry entry in list.Entries)
			{
				Item item = new PublicMoongate();

				item.MoveToWorld(entry.Location, list.Map);

				if (entry.Number == 1060642) // Umbra
					item.Hue = 0x497;
			}

			return list.Entries.Length;
		}
예제 #3
0
        private static int MoonGen(PMList list)
        {
            foreach (PMEntry entry in list.Entries)
            {
                Item item = new PublicMoongate();

                item.MoveToWorld(entry.Location, list.Map);

                if (entry.DestName == "Umbra")                   // Umbra
                {
                    item.Hue = 0x497;
                }
            }

            return(list.Entries.Length);
        }
예제 #4
0
        private static int MoonGen(PMList list)
        {
            foreach (var entry in list.Entries)
            {
                var o = new PublicMoongate();

                o.MoveToWorld(entry.Location, list.Map);

                if (entry.Number == 1060642)                 // Umbra
                {
                    o.Hue = 0x497;
                }
            }

            return(list.Entries.Length);
        }
예제 #5
0
        private static int MoonGen(PMList list)
        {
            for (var index = 0; index < list.Entries.Length; index++)
            {
                PMEntry entry = list.Entries[index];

                PublicMoongate o = new PublicMoongate();

                o.MoveToWorld(entry.Location, list.Map);

                if (entry.Number == 1060642) // Umbra
                {
                    o.Hue = 0x497;
                }
            }

            return(list.Entries.Length);
        }
예제 #6
0
        private static int MoonGen(PMList list)
        {
            foreach (PMEntry entry in list.Entries)
            {
                Item item = new PublicMoongate();
                var  loc  = entry.Location;
                var  map  = list.Map;
                if (!MythikStaticValues.UpdateLoc(ref loc, ref map))
                {
                    continue;
                }
                item.MoveToWorld(loc, map);

                if (entry.Number == 1060642)                   // Umbra
                {
                    item.Hue = 0x497;
                }
            }

            return(list.Entries.Length);
        }
예제 #7
0
        private static int MoonGen(PMList list)
        {
            foreach (PMEntry entry in list.Entries)
            {
                Item item = new PublicMoongate();

                item.MoveToWorld(entry.Location, list.Map);

                if (entry.Number == 1060642) // Umbra
                    item.Hue = 0x497;
            }

            return list.Entries.Length;
        }