Search in sources :

Example 1 with SeaSerpentCard

use of Cards.Fish.SeaSerpentCard in project cardgame1 by joey101937.

the class SeaSerpentTrap method onSummon.

@Override
public void onSummon(Minion m) {
    if (m.owner == this.owner && m.tribe == Tribe.Fish && m.parent.cost > 1) {
        numSummoned += 1;
    }
    if (numSummoned >= 3 && !activated && owner.hand.size() < Hero.maxHandSize && owner.turn) {
        activated = true;
        Sticker reveal = new Sticker(parent, 1700, 200, AI.AI.speed * 6);
        Sticker blood = new Sticker(SpriteHandler.bloodMedium, m, AI.AI.speed * 6);
        Main.wait(AI.AI.speed * 6);
        // owner.minions.add(new SeaSerpentMinion(this.parent));
        owner.draw(new SeaSerpentCard());
        owner.traps.remove(this);
    }
}
Also used : Sticker(cardgame1.Sticker) SeaSerpentCard(Cards.Fish.SeaSerpentCard)

Aggregations

SeaSerpentCard (Cards.Fish.SeaSerpentCard)1 Sticker (cardgame1.Sticker)1