Examples of BoostSourceEffect


Examples of mage.abilities.effects.common.BoostSourceEffect

        this.color.setBlack(true);
        this.subtype.add("Human");
        this.subtype.add("Rogue");
        this.power = new MageInt(4);
  this.toughness = new MageInt(3);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(-2, -0, Duration.EndOfTurn), new ManaCostsImpl("{U}{B}"));
        ability.addEffect(new GainAbilitySourceEffect(UnblockableAbility.getInstance(), Duration.EndOfTurn));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.BoostSourceEffect

    this.color.setGreen(true);
    this.subtype.add("Zombie");
    this.subtype.add("Leech");
    this.power = new MageInt(2);
    this.toughness = new MageInt(2);
    this.addAbility(new ActivateOncePerTurnActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(2, 2, Duration.EndOfTurn), new PayLifeCost(2)));
  }
View Full Code Here

Examples of mage.abilities.effects.common.BoostSourceEffect

    this.subtype.add("Cat");
    this.color.setWhite(true);
    this.power = new MageInt(0);
    this.toughness = new MageInt(1);

    this.addAbility(new LandfallAbility(new BoostSourceEffect(2, 2, Duration.EndOfTurn), false));
  }
View Full Code Here

Examples of mage.abilities.effects.common.BoostSourceEffect

    abilities1.add(FlyingAbility.getInstance());
    this.getLevels().add(new LevelAbility(4, 7, abilities1, 4, 4));
    Abilities<Ability> abilities2 = new AbilitiesImpl<Ability>();
    abilities2.add(FlyingAbility.getInstance());
    abilities2.add(TrampleAbility.getInstance());
    abilities2.add(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl("{R}")));
    this.getLevels().add(new LevelAbility(8, -1, abilities2, 8, 8));
  }
View Full Code Here

Examples of mage.abilities.effects.common.BoostSourceEffect

    this.power = new MageInt(4);
    this.toughness = new MageInt(4);
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(HasteAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl("{G}")));
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(TrampleAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl("{G}")));
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(IndestructibleAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl("{G}")));
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, -1, Duration.EndOfTurn), new ManaCostsImpl("{1}")));
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(-1, 1, Duration.EndOfTurn), new ManaCostsImpl("{1}")));
  }
View Full Code Here

Examples of mage.abilities.effects.common.BoostSourceEffect

        this.expansionSetCode = "CON";
        this.subtype.add("Zombie");
        this.color.setBlack(true);
        this.power = new MageInt(1);
  this.toughness = new MageInt(1);
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(3, 0, Duration.EndOfTurn), new ManaCostsImpl(("{1}{U}{B}")));
        ability.getEffects().add(new GainAbilitySourceEffect(FlyingAbility.getInstance(), Duration.EndOfTurn));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.BoostSourceEffect

    this.color.setBlack(true);
    this.power = new MageInt(2);
    this.toughness = new MageInt(2);

    this.addAbility(FlyingAbility.getInstance());
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 1, Duration.EndOfTurn), new ManaCostsImpl("{1}{B}")));
  }
View Full Code Here

Examples of mage.abilities.effects.common.BoostSourceEffect

}

class ChandrasSpitfireAbility extends TriggeredAbilityImpl<ChandrasSpitfireAbility> {

  public ChandrasSpitfireAbility() {
    super(Zone.BATTLEFIELD, new BoostSourceEffect(3, 0, Duration.EndOfTurn), false);
  }
View Full Code Here

Examples of mage.abilities.effects.common.continious.BoostSourceEffect

        this.toughness = new MageInt(2);

        this.addAbility(FlyingAbility.getInstance());
        // Guul Draz Specter gets +3/+3 as long as an opponent has no cards in hand.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new ConditionalContinousEffect(
                new BoostSourceEffect(3, 3, Duration.WhileOnBattlefield),
                new GuulDrazSpecterCondition(),
                ruleText)));
        // Whenever Guul Draz Specter deals combat damage to a player, that player discards a card.
        this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new DiscardTargetEffect(1), false, true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.continious.BoostSourceEffect

        this.color.setGreen(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(4);

        LandfallAbility ability = new LandfallAbility(new BoostSourceEffect(4, 4, Duration.EndOfTurn), false);
        ability.addEffect(new GainAbilitySourceEffect(TrampleAbility.getInstance(), Duration.EndOfTurn));
        this.addAbility(ability);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.