Added Menace ability.

This commit is contained in:
LevelX2 2015-06-20 19:53:11 +02:00
parent 757b9ea99e
commit 03dcc4a9f6
4 changed files with 39 additions and 16 deletions

View file

@ -1,15 +0,0 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package mage.abilities.keyword;
/**
*
* @author ludwig.hirth
*/
public class CantBlockAloneAttachedEffect {
}

View file

@ -40,7 +40,6 @@ import mage.constants.Outcome;
import mage.constants.Zone; import mage.constants.Zone;
import mage.game.Game; import mage.game.Game;
import mage.game.events.GameEvent; import mage.game.events.GameEvent;
import mage.game.events.GameEvent.EventType;
import mage.game.events.ZoneChangeEvent; import mage.game.events.ZoneChangeEvent;
import mage.game.permanent.Permanent; import mage.game.permanent.Permanent;
import mage.target.common.TargetCreaturePermanent; import mage.target.common.TargetCreaturePermanent;

View file

@ -0,0 +1,38 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package mage.abilities.keyword;
import mage.abilities.Ability;
import mage.abilities.StaticAbility;
import mage.abilities.effects.common.combat.CantBeBlockedByMoreThanOneSourceEffect;
import mage.abilities.effects.common.combat.CantBeBlockedByOneEffect;
import mage.constants.Zone;
/**
*
* @author LevelX2
*/
public class MenaceAbility extends StaticAbility {
public MenaceAbility() {
super(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(2));
}
public MenaceAbility(MenaceAbility ability) {
super(ability);
}
@Override
public Ability copy() {
return new MenaceAbility(this);
}
@Override
public String getRule() {
return "Menace <i>(This creature can't be blocked except by two or more creatures.)</i>";
}
}

View file

@ -37,6 +37,7 @@ Islandwalk|new|
Level up|cost| Level up|cost|
Lifelink|instance| Lifelink|instance|
Living weapon|new| Living weapon|new|
Menace|new|
Miracle|cost| Miracle|cost|
Mountaincycling|cost| Mountaincycling|cost|
Mountainwalk|new| Mountainwalk|new|