Package mage.abilities.common

Examples of mage.abilities.common.SimpleStaticAbility


    this.color.setGreen(true);
    this.subtype.add("Cat");
    this.subtype.add("Warrior");
    this.power = new MageInt(1);
    this.toughness = new MageInt(1);
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostSourceWhileControlsEffect(filter1, 1, 1)));
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostSourceWhileControlsEffect(filter2, 1, 1)));
  }
View Full Code Here


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

    this.addAbility(HasteAbility.getInstance());
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter, true)));
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(HasteAbility.getInstance(), Duration.WhileOnBattlefield, filter)));
  }
View Full Code Here

    this.subtype.add("Elemental");
    this.color.setRed(true);
    this.power = new MageInt(4);
    this.toughness = new MageInt(3);

    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new FireServantEffect()));
  }
View Full Code Here

        this.subtype.add("Rhino");
        this.subtype.add("Soldier");
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);
        this.addAbility(FirstStrikeAbility.getInstance());
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(FirstStrikeAbility.getInstance(), Duration.WhileOnBattlefield, filter, true)));
    }
View Full Code Here

  public BasiliskCollar(UUID ownerId) {
    super(ownerId, 122, "Basilisk Collar", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{1}");
    this.expansionSetCode = "WWK";
    this.subtype.add("Equipment");
    this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(2)));
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(LifelinkAbility.getInstance())));
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(DeathtouchAbility.getInstance())));
  }
View Full Code Here

    TargetPermanent auraTarget = new TargetCreaturePermanent();
    this.getSpellAbility().addTarget(auraTarget);
    this.getSpellAbility().addEffect(new AttachEffect(Outcome.Detriment));
    Ability ability = new EnchantAbility(auraTarget.getTargetName());
    this.addAbility(ability);
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new IceCageEffect()));
    this.addAbility(new IceCageAbility());
  }
View Full Code Here

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

    this.addAbility(FirstStrikeAbility.getInstance());
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter, true)));
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(IndestructibleAbility.getInstance(), Duration.WhileOnBattlefield, filter)));
  }
View Full Code Here

    this.addAbility(new ProtectionAbility(filter1));
    FilterCard filter2 = new FilterCard("Black");
    filter2.setUseColor(true);
    filter2.getColor().setBlack(true);
    this.addAbility(new ProtectionAbility(filter2));
    this.addAbility(new SimpleStaticAbility(Zone.STACK, new CantCounterSourceEffect()));
  }
View Full Code Here

        TargetPermanent auraTarget = new TargetCreaturePermanent();
  this.getSpellAbility().addTarget(auraTarget);
  this.getSpellAbility().addEffect(new AttachEffect(Outcome.UnboostCreature));
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
  this.addAbility(ability);
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new WeaknessEffect()));
    }
View Full Code Here

        TargetPermanent auraTarget = new TargetCreaturePermanent();
  this.getSpellAbility().addTarget(auraTarget);
        this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature));
  Ability ability = new EnchantAbility(auraTarget.getTargetName());
  this.addAbility(ability);
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new OakenformEffect()));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.common.SimpleStaticAbility

Copyright © 2018 www.massapicom. 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.