theForsaken/src/main/java/theForsaken/cards/DarkRift.java
@Override
    public void use(AbstractPlayer p, AbstractMonster monster) {
        int healAmount = damage * 2;
        AbstractDungeon.actionManager.addToBottom(new DamageAllEnemiesAction(p, multiDamage, damageTypeForTurn, AttackEffect.NONE));
        for (AbstractMonster m : AbstractDungeon.getCurrRoom().monsters.monsters) {
            AbstractDungeon.actionManager.addToBottom(new VFXAction(p, new DarkOrbActivateEffect(m.hb.cX, m.hb.cY), Settings.ACTION_DUR_XFAST));
            AbstractDungeon.actionManager.addToBottom(new ApplyPowerAction(m, p, new HealNextTurnPower(m, p, healAmount), healAmount));
        }
        AbstractDungeon.actionManager.addToBottom(new VFXAction(p, new DarkOrbActivateEffect(p.hb.cX, p.hb.cY), Settings.ACTION_DUR_XFAST));
        AbstractDungeon.actionManager.addToBottom(new DamageAction(p, new DamageInfo(p, damage, damageTypeForTurn)));
        AbstractDungeon.actionManager.addToBottom(new ApplyPowerAction(p, p, new HealNextTurnPower(p, p, healAmount), healAmount));
    }
// Actions the card should do.
Actions the card should do.
Actions the card should do .
@Override
    public void use(AbstractPlayer p, AbstractMonster monster) {
        int healAmount = damage * 2;
        AbstractDungeon.actionManager.addToBottom(new DamageAllEnemiesAction(p, multiDamage, damageTypeForTurn, AttackEffect.NONE));
        for (AbstractMonster m : AbstractDungeon.getCurrRoom().monsters.monsters) {
            AbstractDungeon.actionManager.addToBottom(new VFXAction(p, new DarkOrbActivateEffect(m.hb.cX, m.hb.cY), Settings.ACTION_DUR_XFAST));
            AbstractDungeon.actionManager.addToBottom(new ApplyPowerAction(m, p, new HealNextTurnPower(m, p, healAmount), healAmount));
        }
        AbstractDungeon.actionManager.addToBottom(new VFXAction(p, new DarkOrbActivateEffect(p.hb.cX, p.hb.cY), Settings.ACTION_DUR_XFAST));
        AbstractDungeon.actionManager.addToBottom(new DamageAction(p, new DamageInfo(p, damage, damageTypeForTurn)));
        AbstractDungeon.actionManager.addToBottom(new ApplyPowerAction(p, p, new HealNextTurnPower(p, p, healAmount), healAmount));
    }
@ Override public void use ( AbstractPlayer p , AbstractMonster monster ) { int healAmount = damage * 2 ; AbstractDungeon . actionManager . addToBottom ( new DamageAllEnemiesAction ( p , multiDamage , damageTypeForTurn , AttackEffect . NONE ) ) ; for ( AbstractMonster m : AbstractDungeon . getCurrRoom ( ) . monsters . monsters ) { AbstractDungeon . actionManager . addToBottom ( new VFXAction ( p , new DarkOrbActivateEffect ( m . hb . cX , m . hb . cY ) , Settings . ACTION_DUR_XFAST ) ) ; AbstractDungeon . actionManager . addToBottom ( new ApplyPowerAction ( m , p , new HealNextTurnPower ( m , p , healAmount ) , healAmount ) ) ; } AbstractDungeon . actionManager . addToBottom ( new VFXAction ( p , new DarkOrbActivateEffect ( p . hb . cX , p . hb . cY ) , Settings . ACTION_DUR_XFAST ) ) ; AbstractDungeon . actionManager . addToBottom ( new DamageAction ( p , new DamageInfo ( p , damage , damageTypeForTurn ) ) ) ; AbstractDungeon . actionManager . addToBottom ( new ApplyPowerAction ( p , p , new HealNextTurnPower ( p , p , healAmount ) , healAmount ) ) ; }
Actions the card should do.
Actions the card should do .