51525354555657
private DynamicValue power; private DynamicValue toughness; private boolean lockedIn; public BoostTargetEffect(int power, int toughness, Duration duration) { this(new StaticValue(power), new StaticValue(toughness), duration, false); }
878889909192939495
@Override public void init(Ability source, Game game) { super.init(source, game); if (lockedIn) { power = new StaticValue(power.calculate(game, source, this)); toughness = new StaticValue(toughness.calculate(game, source, this)); } }
46474849505152
public class PutTopCardOfLibraryIntoGraveTargetEffect extends OneShotEffect { private DynamicValue numberCards; public PutTopCardOfLibraryIntoGraveTargetEffect(int numberCards) { this(new StaticValue(numberCards)); }
4041424344454647
private DynamicValue value; private String rule = null; public BushidoAbility(int value) { this(new StaticValue(value)); rule = new StringBuilder("Bushido ").append(value).toString(); }
44454647484950
public class LoseLifeAllPlayersEffect extends OneShotEffect { private final DynamicValue amount; public LoseLifeAllPlayersEffect(int amount) { this(new StaticValue(amount)); }
public class LoseLifeTargetEffect extends OneShotEffect { protected DynamicValue amount; public LoseLifeTargetEffect(int amount) { this(new StaticValue(amount)); }
56575859606162
public SacrificeOpponentsEffect(FilterPermanent filter) { this(1, filter); } public SacrificeOpponentsEffect(int amount, FilterPermanent filter) { this(new StaticValue(amount), filter); }
49505152535455
private DynamicValue amount; private FilterPermanent filter; public DamageEverythingEffect(int amount) { this(new StaticValue(amount), new FilterCreaturePermanent()); }
53545556575859
public DamageEverythingEffect(int amount) { this(new StaticValue(amount), new FilterCreaturePermanent()); } public DamageEverythingEffect(int amount, FilterPermanent filter) { this(new StaticValue(amount), filter); }
55565758596061
public class SoulshiftAbility extends DiesTriggeredAbility { private final DynamicValue amount; public SoulshiftAbility(int amount) { this(new StaticValue(amount)); }