示例#1
0
    public bool CheckForSuccess()
    {
        var success = BuildingDice_Simulation.RollSuccessDice();

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

        Debug.Log(damage);
        if (damage == DamageDice.Damage)
        {
            return(true);
        }
        return(false);
    }
    public bool CheckForCardDraw()
    {
        var card = BuildingDice_Simulation.RollCardDice();
        var deck = FindObjectOfType <BuildingCard_Deck>();

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