Fixed a bug of Master Biomancer's ability triggering for all controlled permanents instead of only creatures. Some changes to rule text generation and minor change to Molten Primordial.

This commit is contained in:
LevelX2 2013-02-19 16:43:27 +01:00
parent c7b602ff74
commit 2a17dc8c66
4 changed files with 7 additions and 4 deletions

View file

@ -94,7 +94,7 @@ class InfiniteReflectionTriggeredEffect extends OneShotEffect<InfiniteReflection
public InfiniteReflectionTriggeredEffect() {
super(Constants.Outcome.Sacrifice);
this.staticText = "When Infinite Reflection enters the battlefield attached to a creature, each other nontoken creature you control becomes a copy of that creature";
this.staticText = " attached to a creature, each other nontoken creature you control becomes a copy of that creature";
}
public InfiniteReflectionTriggeredEffect(final InfiniteReflectionTriggeredEffect effect) {
@ -165,7 +165,7 @@ class InfiniteReflectionEntersBattlefieldEffect extends ReplacementEffectImpl<In
@Override
public String getText(Mode mode) {
return "Nontoken creatures you control enter the battlefield as a copy of enchanted creature.";
return "Nontoken creatures you control enter the battlefield as a copy of enchanted creature";
}
@Override

View file

@ -93,7 +93,9 @@ class MasterBiomancerEntersBattlefieldEffect extends ReplacementEffectImpl<Maste
public boolean applies(GameEvent event, Ability source, Game game) {
if (event.getType() == EventType.ENTERS_THE_BATTLEFIELD) {
Permanent creature = game.getPermanent(event.getTargetId());
if (creature != null && creature.getControllerId().equals(source.getControllerId()) && !event.getTargetId().equals(source.getSourceId())) {
if (creature != null && creature.getControllerId().equals(source.getControllerId())
&& creature.getCardType().contains(CardType.CREATURE)
&& !event.getTargetId().equals(source.getSourceId())) {
return true;
}
}

View file

@ -131,6 +131,7 @@ class MoltenPrimordialEffect extends OneShotEffect<MoltenPrimordialEffect> {
game.addEffect(effect2, source);
targetCreature.untap(game);
result = true;
}
}
}

View file

@ -61,7 +61,7 @@ public class HinterlandHarbor extends CardImpl<HinterlandHarbor> {
this.expansionSetCode = "ISD";
Condition controls = new UnlessCondition(new ControlsPermanentCondition(filter, ControlsPermanentCondition.CountType.MORE_THAN, 0));
String abilityText = "tap it unless you control a Forest or an Island";
String abilityText = "tapped unless you control a Forest or an Island";
this.addAbility(new EntersBattlefieldAbility(new ConditionalOneShotEffect(new TapSourceEffect(), controls, abilityText), abilityText));
this.addAbility(new GreenManaAbility());
this.addAbility(new BlueManaAbility());