theForsaken/src/main/java/theForsaken/cards/SpinAttack.java
@Override
    public void use(AbstractPlayer p, AbstractMonster m) {
        int amount = 1;
        if (p.hasPower("Dexterity")) {
            int dex = p.getPower("Dexterity").amount;
            while (dex >= magicNumber) {
                amount += 1;
                dex -= magicNumber;
            }
        }
        for (int i = 0; i < amount; ++i) {// 41
            AbstractDungeon.actionManager.addToBottom(new AttackDamageRandomEnemyAction(this, AttackEffect.SLASH_HORIZONTAL));// 42
        }
    }
// Actions the card should do.
Actions the card should do.
Actions the card should do .
@Override
    public void use(AbstractPlayer p, AbstractMonster m) {
        int amount = 1;
        if (p.hasPower("Dexterity")) {
            int dex = p.getPower("Dexterity").amount;
            while (dex >= magicNumber) {
                amount += 1;
                dex -= magicNumber;
            }
        }
        for (int i = 0; i < amount; ++i) {
            AbstractDungeon.actionManager.addToBottom(new AttackDamageRandomEnemyAction(this, AttackEffect.SLASH_HORIZONTAL));
        }
    }
@ Override public void use ( AbstractPlayer p , AbstractMonster m ) { int amount = 1 ; if ( p . hasPower ( "Dexterity" ) ) { int dex = p . getPower ( "Dexterity" ) . amount ; while ( dex >= magicNumber ) { amount += 1 ; dex -= magicNumber ; } } for ( int i = 0 ; i < amount ; ++ i ) { AbstractDungeon . actionManager . addToBottom ( new AttackDamageRandomEnemyAction ( this , AttackEffect . SLASH_HORIZONTAL ) ) ; } }
Actions the card should do.
Actions the card should do .
// 41 // 42