Example #1
0
        public void CurrencyCraftingStepOrbTest()
        {
            AlchemyOrb alchemyOrb = new AlchemyOrb(_random.Object);

            List <ICraftingStep> craftingSteps = new List <ICraftingStep>();
            CurrencyCraftingStep alchemyStep   = new CurrencyCraftingStep(alchemyOrb);

            craftingSteps.Add(alchemyStep);

            StatusMetadata metadata = _statusManager.Evaluate(craftingSteps);

            Assert.IsTrue(metadata.CurrentStatus.Rarity == EquipmentRarity.Rare);
        }
Example #2
0
        private void AddOrb(List <ICraftingStep> craftingSteps, ICurrency currency)
        {
            CurrencyCraftingStep alchemyStep = new CurrencyCraftingStep(currency);

            craftingSteps.Add(alchemyStep);
        }