mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
* Avalanche Tusker - Fixed that the target creature did not have to block Avalanche Tusker itself.
This commit is contained in:
parent
90103dc650
commit
2fdaeffb32
1 changed files with 4 additions and 3 deletions
|
@ -31,6 +31,7 @@ import java.util.UUID;
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.abilities.TriggeredAbilityImpl;
|
import mage.abilities.TriggeredAbilityImpl;
|
||||||
import mage.abilities.effects.common.combat.BlocksIfAbleTargetEffect;
|
import mage.abilities.effects.common.combat.BlocksIfAbleTargetEffect;
|
||||||
|
import mage.abilities.effects.common.combat.MustBeBlockedByTargetSourceEffect;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.Duration;
|
import mage.constants.Duration;
|
||||||
|
@ -60,7 +61,7 @@ public class AvalancheTusker extends CardImpl {
|
||||||
this.power = new MageInt(6);
|
this.power = new MageInt(6);
|
||||||
this.toughness = new MageInt(4);
|
this.toughness = new MageInt(4);
|
||||||
|
|
||||||
// Whenever Avalanche Tusker attacks, target creature defending player controls blocks this turn if able.
|
// Whenever Avalanche Tusker attacks, target creature defending player controls blocks it this turn if able.
|
||||||
this.addAbility(new AvalancheTuskerAbility());
|
this.addAbility(new AvalancheTuskerAbility());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -77,7 +78,7 @@ public class AvalancheTusker extends CardImpl {
|
||||||
class AvalancheTuskerAbility extends TriggeredAbilityImpl {
|
class AvalancheTuskerAbility extends TriggeredAbilityImpl {
|
||||||
|
|
||||||
public AvalancheTuskerAbility() {
|
public AvalancheTuskerAbility() {
|
||||||
super(Zone.BATTLEFIELD, new BlocksIfAbleTargetEffect(Duration.EndOfTurn), true);
|
super(Zone.BATTLEFIELD, new MustBeBlockedByTargetSourceEffect(Duration.EndOfCombat), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public AvalancheTuskerAbility(final AvalancheTuskerAbility ability) {
|
public AvalancheTuskerAbility(final AvalancheTuskerAbility ability) {
|
||||||
|
@ -101,7 +102,7 @@ class AvalancheTuskerAbility extends TriggeredAbilityImpl {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getRule() {
|
public String getRule() {
|
||||||
return "Whenever {this} attacks, target creature defending player controls blocks this turn if able.";
|
return "Whenever {this} attacks, target creature defending player controls blocks it this combat if able.";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue