[ORI] Added 7/1 spoilers to mtg-cards-data.txt. Implemented Herald of the Pantheon, Goblin Glory Chaser, Scan-Clan Berserker, Necromantic Summons, Bonded Construct. Made some changes to Menace for Goblin Glory Chaser gains Menace.

This commit is contained in:
fireshoes 2015-07-01 12:43:05 -05:00
parent 82ca0266ba
commit ef7f347d55
8 changed files with 583 additions and 112 deletions

View file

@ -1,38 +1,48 @@
/*
* 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>";
}
}
/*
* 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 java.io.ObjectStreamException;
import mage.abilities.Ability;
import mage.abilities.StaticAbility;
import mage.abilities.effects.common.combat.CantBeBlockedByOneEffect;
import mage.constants.Zone;
/**
*
* @author LevelX2
*/
public class MenaceAbility extends StaticAbility {
private static final MenaceAbility fINSTANCE = new MenaceAbility();
public MenaceAbility() {
super(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(2));
}
public MenaceAbility(MenaceAbility ability) {
super(ability);
}
private Object readResolve() throws ObjectStreamException {
return fINSTANCE;
}
public static MenaceAbility getInstance() {
return fINSTANCE;
}
@Override
public Ability copy() {
return fINSTANCE;
}
@Override
public String getRule() {
return "Menace <i>(This creature can't be blocked except by two or more creatures.)</i>";
}
}