* Minor formatting.

This commit is contained in:
LevelX2 2015-03-29 22:45:24 +02:00
parent 0e64df5d93
commit dedbeab86b
2 changed files with 3 additions and 6 deletions

View file

@ -49,9 +49,9 @@ import mage.filter.predicate.permanent.AnotherPredicate;
import mage.filter.predicate.permanent.TokenPredicate;
import mage.game.Game;
import mage.game.permanent.Permanent;
import mage.game.permanent.token.EmptyToken;
import mage.game.stack.Spell;
import mage.players.Player;
import mage.game.permanent.token.EmptyToken;
import mage.util.CardUtil;
/**
@ -78,9 +78,6 @@ public class RikuOfTwoReflections extends CardImpl {
this.subtype.add("Human");
this.subtype.add("Wizard");
this.color.setRed(true);
this.color.setBlue(true);
this.color.setGreen(true);
this.power = new MageInt(2);
this.toughness = new MageInt(2);

View file

@ -76,7 +76,7 @@ public class SpellCastControllerTriggeredAbility extends TriggeredAbilityImpl {
public SpellCastControllerTriggeredAbility(final SpellCastControllerTriggeredAbility ability) {
super(ability);
filter = ability.filter;
this.filter = ability.filter;
this.rememberSource = ability.rememberSource;
this.rule = ability.rule;
}
@ -90,7 +90,7 @@ public class SpellCastControllerTriggeredAbility extends TriggeredAbilityImpl {
public boolean checkTrigger(GameEvent event, Game game) {
if (event.getPlayerId().equals(this.getControllerId())) {
Spell spell = game.getStack().getSpell(event.getTargetId());
if (spell != null && filter.match(spell, game)) {
if (spell != null && filter.match(spell, getControllerId(), game)) {
if (rememberSource) {
this.getEffects().get(0).setTargetPointer(new FixedTarget(spell.getId()));
}