mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Fixed Sphere Of The Suns
This commit is contained in:
parent
f786727b40
commit
7646e8224e
2 changed files with 20 additions and 6 deletions
|
|
@ -39,16 +39,27 @@ import mage.abilities.effects.common.TapSourceEffect;
|
|||
*/
|
||||
public class EntersBattlefieldTappedAbility extends StaticAbility<EntersBattlefieldTappedAbility> {
|
||||
|
||||
private String ruleText;
|
||||
|
||||
public EntersBattlefieldTappedAbility() {
|
||||
super(Zone.BATTLEFIELD, new EntersBattlefieldEffect(new TapSourceEffect(true)));
|
||||
}
|
||||
|
||||
public EntersBattlefieldTappedAbility(String ruleText) {
|
||||
this();
|
||||
this.ruleText = ruleText;
|
||||
}
|
||||
|
||||
public EntersBattlefieldTappedAbility(final EntersBattlefieldTappedAbility ability) {
|
||||
super(ability);
|
||||
this.ruleText = ability.ruleText;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRule() {
|
||||
if (ruleText != null) {
|
||||
return ruleText;
|
||||
}
|
||||
return "{this} enters the battlefield tapped";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue