theForsaken/src/main/java/theForsaken/cards/LightRoll.java
@Override
    public void use(AbstractPlayer p, AbstractMonster m) {
        AbstractDungeon.actionManager.addToBottom(new GainBlockAction(p, p, block));
        AbstractDungeon.actionManager.addToBottom(new ApplyPowerAction(m, p, new WeakPower(m, magicNumber, false), magicNumber));
        if (!this.freeToPlayOnce) {
            AbstractCard copy = new LightRoll();
            if (upgraded) {
                copy.upgrade();
            }
            AbstractDungeon.actionManager.addToBottom(new MakeTempCardInHandAction(copy));
        }
    }
// Actions the card should do.
Actions the card should do.
Actions the card should do .
@Override
    public void use(AbstractPlayer p, AbstractMonster m) {
        AbstractDungeon.actionManager.addToBottom(new GainBlockAction(p, p, block));
        AbstractDungeon.actionManager.addToBottom(new ApplyPowerAction(m, p, new WeakPower(m, magicNumber, false), magicNumber));
        if (!this.freeToPlayOnce) {
            AbstractCard copy = new LightRoll();
            if (upgraded) {
                copy.upgrade();
            }
            AbstractDungeon.actionManager.addToBottom(new MakeTempCardInHandAction(copy));
        }
    }
@ Override public void use ( AbstractPlayer p , AbstractMonster m ) { AbstractDungeon . actionManager . addToBottom ( new GainBlockAction ( p , p , block ) ) ; AbstractDungeon . actionManager . addToBottom ( new ApplyPowerAction ( m , p , new WeakPower ( m , magicNumber , false ) , magicNumber ) ) ; if ( ! this . freeToPlayOnce ) { AbstractCard copy = new LightRoll ( ) ; if ( upgraded ) { copy . upgrade ( ) ; } AbstractDungeon . actionManager . addToBottom ( new MakeTempCardInHandAction ( copy ) ) ; } }
Actions the card should do.
Actions the card should do .