forked from External/mage
[refactoring][minor] Replaced all tabs with four spaces.
This commit is contained in:
parent
e646e4768d
commit
239a4fb100
2891 changed files with 79411 additions and 79411 deletions
|
|
@ -44,49 +44,49 @@ import mage.players.Player;
|
|||
*/
|
||||
public class MindSpring extends CardImpl<MindSpring> {
|
||||
|
||||
public MindSpring(UUID ownerId) {
|
||||
super(ownerId, 64, "Mind Spring", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{X}{U}{U}");
|
||||
this.expansionSetCode = "M10";
|
||||
this.color.setBlue(true);
|
||||
this.getSpellAbility().addEffect(new MindSpringEffect());
|
||||
}
|
||||
public MindSpring(UUID ownerId) {
|
||||
super(ownerId, 64, "Mind Spring", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{X}{U}{U}");
|
||||
this.expansionSetCode = "M10";
|
||||
this.color.setBlue(true);
|
||||
this.getSpellAbility().addEffect(new MindSpringEffect());
|
||||
}
|
||||
|
||||
public MindSpring(final MindSpring card) {
|
||||
super(card);
|
||||
}
|
||||
public MindSpring(final MindSpring card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MindSpring copy() {
|
||||
return new MindSpring(this);
|
||||
}
|
||||
@Override
|
||||
public MindSpring copy() {
|
||||
return new MindSpring(this);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class MindSpringEffect extends OneShotEffect<MindSpringEffect> {
|
||||
|
||||
public MindSpringEffect() {
|
||||
super(Outcome.DrawCard);
|
||||
staticText = "Draw X cards";
|
||||
}
|
||||
public MindSpringEffect() {
|
||||
super(Outcome.DrawCard);
|
||||
staticText = "Draw X cards";
|
||||
}
|
||||
|
||||
public MindSpringEffect(final MindSpringEffect effect) {
|
||||
super(effect);
|
||||
}
|
||||
public MindSpringEffect(final MindSpringEffect effect) {
|
||||
super(effect);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MindSpringEffect copy() {
|
||||
return new MindSpringEffect(this);
|
||||
}
|
||||
@Override
|
||||
public MindSpringEffect copy() {
|
||||
return new MindSpringEffect(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
int amount = source.getManaCostsToPay().getX();
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
if (player != null) {
|
||||
player.drawCards(amount, game);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
int amount = source.getManaCostsToPay().getX();
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
if (player != null) {
|
||||
player.drawCards(amount, game);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue