* Brutal Hordechief - Fixed that damage was dealt instead of lief loss and creatures were forced to attack instead of block.

This commit is contained in:
LevelX2 2015-01-19 08:01:02 +01:00
parent 495b93a679
commit 4f8ec31ef5
2 changed files with 5 additions and 4 deletions

View file

@ -36,6 +36,7 @@ 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.DamageTargetEffect;
import mage.abilities.effects.common.GainLifeEffect; import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.effects.common.LoseLifeTargetEffect;
import mage.abilities.effects.common.combat.BlocksIfAbleAllEffect; import mage.abilities.effects.common.combat.BlocksIfAbleAllEffect;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.constants.CardType; import mage.constants.CardType;
@ -94,7 +95,7 @@ public class BrutalHordechief extends CardImpl {
class BrutalHordechiefTriggeredAbility extends TriggeredAbilityImpl { class BrutalHordechiefTriggeredAbility extends TriggeredAbilityImpl {
public BrutalHordechiefTriggeredAbility() { public BrutalHordechiefTriggeredAbility() {
super(Zone.BATTLEFIELD, new DamageTargetEffect(1)); super(Zone.BATTLEFIELD, new LoseLifeTargetEffect(1));
this.addEffect(new GainLifeEffect(1)); this.addEffect(new GainLifeEffect(1));
} }

View file

@ -48,7 +48,7 @@ public class BlocksIfAbleAllEffect extends RequirementEffect {
} }
public BlocksIfAbleAllEffect(FilterCreaturePermanent filter, Duration duration) { public BlocksIfAbleAllEffect(FilterCreaturePermanent filter, Duration duration) {
super(Duration.WhileOnBattlefield); super(duration);
staticText = new StringBuilder(filter.getMessage()) staticText = new StringBuilder(filter.getMessage())
.append(" block ") .append(" block ")
.append(duration.equals(Duration.EndOfTurn) ? "this":"each") .append(duration.equals(Duration.EndOfTurn) ? "this":"each")
@ -72,12 +72,12 @@ public class BlocksIfAbleAllEffect extends RequirementEffect {
@Override @Override
public boolean mustAttack(Game game) { public boolean mustAttack(Game game) {
return true; return false;
} }
@Override @Override
public boolean mustBlock(Game game) { public boolean mustBlock(Game game) {
return false; return true;
} }
} }