Example #1
0
        public override void Initialize()
        {
            Game.PrefabsList.DiceResultsMenu.SetActive(true);

            DiceRoll DiceRollCheck;

            DiceRollCheck = new DiceRoll(dicesType, dicesCount);
            DiceRollCheck.Roll();
            DiceRollCheck.CalculateResults(checkResults);
        }
Example #2
0
        public override void Initialize()
        {
            Game.PrefabsList.DiceResultsMenu.SetActive(true);

            if (Combat.AttackStep == CombatStep.Attack)
            {
                Combat.ShowAttackAnimationAndSound();
            }

            DiceRoll DiceRollCheck;

            DiceRollCheck = new DiceRoll(dicesType, dicesCount);
            DiceRollCheck.Roll();
            DiceRollCheck.CalculateResults(checkResults);
        }