Some fixes and minor changes.

This commit is contained in:
LevelX2 2012-11-07 23:43:32 +01:00
parent e3ca906b05
commit 1d9df4a3bd
5 changed files with 11 additions and 17 deletions

View file

@ -41,22 +41,22 @@ import mage.target.targetpointer.FixedTarget;
public class SacrificeControllerEffect extends SacrificeEffect {
public SacrificeControllerEffect ( FilterPermanent filter, DynamicValue count, String preText ) {
public SacrificeControllerEffect(FilterPermanent filter, DynamicValue count, String preText ) {
super(filter, count, preText);
}
public SacrificeControllerEffect ( FilterPermanent filter, int count, String preText ) {
this(filter, new StaticValue(count), preText);
}
public SacrificeControllerEffect(FilterPermanent filter, int count, String preText ) {
this(filter, new StaticValue(count), preText);
}
public SacrificeControllerEffect (final SacrificeControllerEffect effect ) {
public SacrificeControllerEffect(final SacrificeControllerEffect effect ) {
super(effect);
}
@Override
public boolean apply(Game game, Ability source) {
this.targetPointer = new FixedTarget(source.getControllerId());
return super.apply(game, source);
this.targetPointer = new FixedTarget(source.getControllerId());
return super.apply(game, source);
}
@Override

View file

@ -34,11 +34,6 @@ import mage.abilities.effects.Effect;
import mage.cards.Card;
/**
*
*
*/
/**
* 702.94. Overload
*