Esempio n. 1
0
  public void onSummoned() throws GameOverException {
    super.onSummoned();

    int power = owner.getPlayerInfo().getStrengthFire();
    if (power > 10) power = 10;

    damageAll(opponent, power);
    damageOpponent(power);
  }
Esempio n. 2
0
  public void onDying() throws GameOverException {
    super.onDying();

    try {

      SlotImage[] slots = owner.getSlots();

      addCreature("DemonApostate", slotIndex, slots[slotIndex]);

    } catch (Exception e) {
      e.printStackTrace();
    }
  }
Esempio n. 3
0
  public void onAttack() throws GameOverException {
    super.onAttack();

    int attack = this.card.getAttack();

    damageAllExceptCurrentIndex(attack, opponent);

    CardImage[] enemyCards = opponent.getSlotCards();

    if (enemyCards[slotIndex] != null) {
      // damage the opponent even if there is a card opposite
      damageOpponent(attack);
    }
  }
Esempio n. 4
0
 public void onAttack() throws GameOverException {
   super.onAttack();
 }
Esempio n. 5
0
 public void onSummoned() throws GameOverException {
   super.onSummoned();
 }