* Brutal Hordechief - Fixed that the activated ability to decide how to block did not work.

This commit is contained in:
LevelX2 2015-02-16 19:44:57 +01:00
parent 69fb4e83a6
commit 7526d46cf0
2 changed files with 2 additions and 4 deletions

View file

@ -34,7 +34,6 @@ import mage.abilities.TriggeredAbilityImpl;
import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.ReplacementEffectImpl; import mage.abilities.effects.ReplacementEffectImpl;
import mage.abilities.effects.common.DamageTargetEffect;
import mage.abilities.effects.common.GainLifeEffect; import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.effects.common.LoseLifeTargetEffect; import mage.abilities.effects.common.LoseLifeTargetEffect;
import mage.abilities.effects.common.combat.BlocksIfAbleAllEffect; import mage.abilities.effects.common.combat.BlocksIfAbleAllEffect;
@ -168,7 +167,7 @@ class BrutalHordechiefReplacementEffect extends ReplacementEffectImpl {
@Override @Override
public boolean applies(GameEvent event, Ability source, Game game) { public boolean applies(GameEvent event, Ability source, Game game) {
Player player = game.getPlayer(event.getPlayerId()); // this won't work correctly if coop formats are supported someday
return player != null && game.isOpponent(player, source.getControllerId()); return event.getPlayerId().equals(source.getSourceId());
} }
} }

View file

@ -56,7 +56,6 @@ public class DoomwakeGiant extends CardImpl {
this.expansionSetCode = "JOU"; this.expansionSetCode = "JOU";
this.subtype.add("Giant"); this.subtype.add("Giant");
this.color.setBlack(true);
this.power = new MageInt(4); this.power = new MageInt(4);
this.toughness = new MageInt(6); this.toughness = new MageInt(6);