mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Added Menace ability.
This commit is contained in:
parent
757b9ea99e
commit
03dcc4a9f6
4 changed files with 39 additions and 16 deletions
|
@ -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 {
|
|
||||||
|
|
||||||
}
|
|
|
@ -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;
|
||||||
|
|
38
Mage/src/mage/abilities/keyword/MenaceAbility.java
Normal file
38
Mage/src/mage/abilities/keyword/MenaceAbility.java
Normal 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>";
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -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|
|
||||||
|
|
Loading…
Reference in a new issue