mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08:00
Some minor fixes and changes to framework and some cards.
This commit is contained in:
parent
ea52da66c6
commit
eeee6df026
2 changed files with 11 additions and 2 deletions
|
|
@ -28,6 +28,7 @@
|
|||
package mage.abilities.keyword;
|
||||
|
||||
import mage.abilities.EvasionAbility;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.common.combat.UnblockableSourceEffect;
|
||||
|
||||
/**
|
||||
|
|
@ -36,7 +37,15 @@ import mage.abilities.effects.common.combat.UnblockableSourceEffect;
|
|||
public class UnblockableAbility extends EvasionAbility<UnblockableAbility> {
|
||||
|
||||
public UnblockableAbility() {
|
||||
this.addEffect(new UnblockableSourceEffect());
|
||||
this("");
|
||||
}
|
||||
|
||||
public UnblockableAbility(String ruleText) {
|
||||
Effect effect = new UnblockableSourceEffect();
|
||||
if (ruleText != null && !ruleText.isEmpty()) {
|
||||
effect.setText(ruleText);
|
||||
}
|
||||
this.addEffect(effect);
|
||||
}
|
||||
|
||||
private UnblockableAbility(UnblockableAbility ability) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue