Exemple #1
0
    public bool CheckForSuccess()
    {
        var success = ExplorationDice_Simulation.RollSuccessDice();

        if (success == SuccessDice.Determination)
        {
            return(false);
        }
        return(true);
    }
Exemple #2
0
    public bool CheckForPlayerDamage()
    {
        var damage = ExplorationDice_Simulation.RollDamageDice();

        Debug.Log(damage);
        if (damage == DamageDice.Damage)
        {
            return(true);
        }
        return(false);
    }
Exemple #3
0
    public bool CheckForCardDraw()
    {
        var card = ExplorationDice_Simulation.RollCardDice();

        Debug.Log(card);
        var deck = FindObjectOfType <ExploringCard_Deck>();

        if (deck.hasQuestionMarkOnDeck || card == CardDice.Card)
        {
            return(true);
        }
        return(false);
    }