theForsaken/src/main/java/theForsaken/variables/UnplayedCardsVariable.java
public static int unplayedCardCount() {
        int count = 0;
        if(AbstractDungeon.player != null && AbstractDungeon.player.discardPile != null) {
            for (AbstractCard c : AbstractDungeon.player.discardPile.group) {
                UUID uuid = c.uuid;
                if (!TheForsakenMod.usedCards.contains(uuid)) {
                    count += 1;
                }
            }
        }
        return count;
    }
// If the !D! and !B! (for Damage and Block) etc. are not enough for you, this is how you make your own one. It Changes In Real Time!
If the !D. and !B. (for Damage and Block) etc. are not enough for you, this is how you make your own one. It Changes In Real Time!
If the !D . and !B . ( for Damage and Block ) etc . are not enough for you this is how you make your own one . It Changes In Real Time!
public static int unplayedCardCount() {
        int count = 0;
        if(AbstractDungeon.player != null && AbstractDungeon.player.discardPile != null) {
            for (AbstractCard c : AbstractDungeon.player.discardPile.group) {
                UUID uuid = c.uuid;
                if (!TheForsakenMod.usedCards.contains(uuid)) {
                    count += 1;
                }
            }
        }
        return count;
    }
public static int unplayedCardCount ( ) { int count = 0 ; if ( AbstractDungeon . player != null && AbstractDungeon . player . discardPile != null ) { for ( AbstractCard c : AbstractDungeon . player . discardPile . group ) { UUID uuid = c . uuid ; if ( ! TheForsakenMod . usedCards . contains ( uuid ) ) { count += 1 ; } } } return count ; }
If the !D!
If the !D!