Пример #1
0
  public void onCast() throws GameOverException {
    super.onCast();

    if (this.targetedCardImage != null) {
      CardType type = this.targetedCardImage.getCard().getType();

      if (type != CardType.AIR
          && type != CardType.FIRE
          && type != CardType.WATER
          && type != CardType.EARTH) {
        return;
      }

      damageSlot(
          targetedCardImage,
          targetedCardImage.getCreature().getIndex(),
          opponent,
          adjustDamage(12));

      this.opposingPlayer.decrementStrength(type, 3);
    }
  }
Пример #2
0
 public void onCast() throws GameOverException {
   super.onCast();
   healAll(18);
 }