Esempio n. 1
0
        public void Setup()
        {
            m_Door = new GuardianDoor(DoorFacing.SouthCW);
            m_Door.MoveToWorld(new Point3D(355, 15, -1), Map.Malas);

            m_CanActive = true;
        }
Esempio n. 2
0
        public void Setup()
        {
            m_Door = new GuardianDoor(DoorFacing.SouthCW);

            m_Door.MoveToWorld(new Point3D(355, 15, -1), Map.Malas);

            m_CanActive = true;

            for (int i = 0; i < 3; i++)
            {
                int x = Utility.Random(Rect.X, Rect.Width);
                int y = Utility.Random(Rect.Y, Rect.Height);

                GuardianTreasureChest chest = new GuardianTreasureChest(0xE41);

                int itemID = Utility.RandomList(chest.ItemIDs);

                chest.ItemID = itemID;

                chest.MoveToWorld(new Point3D(x, y, -1), Map.Malas);
            }
        }