Example #1
0
        private void ApplyRandomizers()
        {
            if (Agent.Features.RandomizeEnemyData)
            {
                EnemyRandomizer.RandomizeEnemyCollection();
            }

            if (Agent.Features.RandomizeEquipmentData)
            {
                ItemRandomizer.RandomizeEquipment();
            }

            if (Agent.Features.RandomizeShopLists)
            {
                AreaRandomizer.RandomizeShopLists();
            }

            if (Agent.Features.RandomizeFoundItems)
            {
                AreaRandomizer.RandomizeFoundItems();
            }
            if (Agent.Features.ShuffleBossEncounters)
            {
                EnemyRandomizer.ShuffleBossOrder();
            }
            if (Agent.Features.RandomizeArmData)
            {
                ArmRandomizer.RandomizeArmCollection();
            }

            if (Agent.Features.ShuffleArmOrder)
            {
                //ArmRandomizer.ShuffleArmOrder();
            }
            if (Agent.Features.RandomizeFastDrawData)
            {
                FastDrawRandomizer.RandomizeFastDrawCollection();
            }
            if (Agent.Features.RandomizeFastDrawData)
            {
                //FastDrawRandomizer.ShuffleFastDrawOrder();
            }
            if (Agent.Features.RandomizeSpellData)
            {
                SpellRandomizer.RandomizeSpellCollection();
            }
            if (Agent.Features.RandomizeSummonData)
            {
                SummonRandomizer.RandomizeSummonCollection();
            }
            if (Agent.Features.ShuffleSummonOrder)
            {
                //SummonRandomizer.ShuffleSummonOrder();
            }
            if (Agent.Features.RandomizeAttackData)
            {
                AttackRandomizer.RandomizeAttackCollection();
            }
        }
Example #2
0
        public MainWindow()
        {
            InitializeComponent();

            _replacer        = new SecretReplacer();
            _itemrandomizer  = new ItemRandomizer();
            _enemyrandomizer = new EnemyRandomizer();
            _texrandomizer   = new TextureRandomizer();

            ReplacementStatusManager.CanRandomize  = true;
            ReplacementStatusManager.LevelProgress = 0;
            ReplacementStatusManager.AllowHard     = false;
        }