Search in sources :

Example 1 with KelpieCard

use of Cards.Base.KelpieCard in project cardgame1 by joey101937.

the class SeaWitchMinion method onSummon.

@Override
public void onSummon() {
    ArrayList<Card> options = new ArrayList<>();
    // possible draw options
    options.add(new FrenzyCard());
    options.add(new PredationCard());
    options.add(new SwollowCard());
    options.add(new SeaSerpentTrapCard());
    options.add(new ThrasherCard());
    options.add(new JellyfishCard());
    options.add(new CarnifishCard());
    options.add(new BaitfishCard());
    options.add(new SeaWitchCard());
    options.add(new KelpieCard());
    options.add(new PirranahCard());
    // 
    this.proc();
    Main.wait(AI.AI.speed / 3);
    owner.draw(options.get((int) (Math.random() * options.size())));
}
Also used : ArrayList(java.util.ArrayList) KelpieCard(Cards.Base.KelpieCard) Card(Cards.Card) KelpieCard(Cards.Base.KelpieCard)

Aggregations

KelpieCard (Cards.Base.KelpieCard)1 Card (Cards.Card)1 ArrayList (java.util.ArrayList)1