forked from External/mage
Change all line endings to LF
This commit is contained in:
parent
13d9a56b7a
commit
430ae503c7
17069 changed files with 1263498 additions and 1263497 deletions
|
|
@ -1,42 +1,42 @@
|
|||
/*
|
||||
* 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.ObjectColor;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.constants.Zone;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public class DevoidAbility extends SimpleStaticAbility {
|
||||
|
||||
public DevoidAbility(ObjectColor color) {
|
||||
super(Zone.ALL, null);
|
||||
color.setBlack(false);
|
||||
color.setWhite(false);
|
||||
color.setGreen(false);
|
||||
color.setBlue(false);
|
||||
color.setRed(false);
|
||||
setRuleAtTheTop(true);
|
||||
}
|
||||
|
||||
public DevoidAbility(final DevoidAbility ability) {
|
||||
super(ability);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DevoidAbility copy() {
|
||||
return new DevoidAbility(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return "Devoid <i>(This card has no color.)</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 mage.ObjectColor;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.constants.Zone;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public class DevoidAbility extends SimpleStaticAbility {
|
||||
|
||||
public DevoidAbility(ObjectColor color) {
|
||||
super(Zone.ALL, null);
|
||||
color.setBlack(false);
|
||||
color.setWhite(false);
|
||||
color.setGreen(false);
|
||||
color.setBlue(false);
|
||||
color.setRed(false);
|
||||
setRuleAtTheTop(true);
|
||||
}
|
||||
|
||||
public DevoidAbility(final DevoidAbility ability) {
|
||||
super(ability);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DevoidAbility copy() {
|
||||
return new DevoidAbility(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return "Devoid <i>(This card has no color.)</i>";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue