- Little fixes to some cards.

This commit is contained in:
Jeff 2015-01-17 23:39:28 -06:00
parent aa67d4fb79
commit d5c1f35aca
4 changed files with 6 additions and 3 deletions

View file

@ -109,7 +109,7 @@ class AtarkaWorldRenderEffect extends TriggeredAbilityImpl {
if (event.getType() == EventType.ATTACKER_DECLARED) {
Permanent attacker = game.getPermanent(event.getSourceId());
if (attacker != null
&& filter.match(attacker, game)) {
&& filter.match(attacker, sourceId, controllerId, game)) {
for (Effect effect : this.getEffects()) {
effect.setTargetPointer(new FixedTarget(attacker.getId()));
}

View file

@ -79,7 +79,7 @@ public class MonasteryMentor extends CardImpl {
MonasteryMentorToken() {
super("Monk", "1/1 white Monk creature token with prowess");
cardType.add(CardType.CREATURE);
color.setBlack(true);
color.setWhite(true);
subtype.add("Monk");
power = new MageInt(1);
toughness = new MageInt(1);

View file

@ -46,6 +46,7 @@ import mage.constants.Rarity;
import mage.constants.TargetController;
import mage.constants.Zone;
import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.mageobject.SubtypePredicate;
import mage.filter.predicate.permanent.AnotherPredicate;
import mage.filter.predicate.permanent.AttackingPredicate;
import mage.filter.predicate.permanent.ControllerPredicate;
@ -63,9 +64,11 @@ public class GoblinRabblemaster extends CardImpl {
static {
otherGoblinFilter.add(new AnotherPredicate());
otherGoblinFilter.add(new ControllerPredicate(TargetController.YOU));
otherGoblinFilter.add(new SubtypePredicate("Goblin"));
attackingFilter.add(new AttackingPredicate());
attackingFilter.add(new AnotherPredicate());
attackingFilter.add(new SubtypePredicate("Goblin"));
}
public GoblinRabblemaster(UUID ownerId) {

View file

@ -113,7 +113,7 @@ class DinOfTheFireherdEffect extends OneShotEffect {
effect.apply(game, source);
Effect effect2 = new SacrificeEffect(new FilterControlledLandPermanent(), redCreaturesControllerControls, "Target Opponent");
effect.setTargetPointer(new FixedTarget(targetOpponent.getId()));
effect2.setTargetPointer(new FixedTarget(targetOpponent.getId()));
effect2.apply(game, source);
applied = true;
}