mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Formatting Tetsuo Umezawa
Clean up text formatting in code file
This commit is contained in:
parent
b8a7d3fc39
commit
688c25f34b
1 changed files with 10 additions and 17 deletions
|
@ -57,23 +57,19 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
*
|
*
|
||||||
* @author JRHerlehy
|
* @author JRHerlehy
|
||||||
*/
|
*/
|
||||||
|
public class TetsuoUmezawa extends CardImpl {
|
||||||
|
|
||||||
public class TetsuoUmezawa extends CardImpl
|
|
||||||
{
|
|
||||||
private static final FilterCreaturePermanent creatureFilter = new FilterCreaturePermanent("tapped or blocking creature");
|
private static final FilterCreaturePermanent creatureFilter = new FilterCreaturePermanent("tapped or blocking creature");
|
||||||
|
|
||||||
static
|
static {
|
||||||
{
|
|
||||||
creatureFilter.add(Predicates.or(
|
creatureFilter.add(Predicates.or(
|
||||||
new TappedPredicate(),
|
new TappedPredicate(),
|
||||||
new BlockingPredicate()));
|
new BlockingPredicate()));
|
||||||
}
|
}
|
||||||
|
|
||||||
public TetsuoUmezawa(UUID ownerId)
|
public TetsuoUmezawa(UUID ownerId) {
|
||||||
{
|
super(ownerId, 302, "Tetsuo Umezawa", Rarity.RARE, new CardType[]{
|
||||||
super(ownerId, 302, "Tetsuo Umezawa", Rarity.RARE, new CardType[]
|
CardType.CREATURE
|
||||||
{
|
|
||||||
CardType.CREATURE
|
|
||||||
}, "{U}{B}{R}");
|
}, "{U}{B}{R}");
|
||||||
this.expansionSetCode = "LEG";
|
this.expansionSetCode = "LEG";
|
||||||
this.supertype.add("Legendary");
|
this.supertype.add("Legendary");
|
||||||
|
@ -91,14 +87,12 @@ public class TetsuoUmezawa extends CardImpl
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
public TetsuoUmezawa(final TetsuoUmezawa card)
|
public TetsuoUmezawa(final TetsuoUmezawa card) {
|
||||||
{
|
|
||||||
super(card);
|
super(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public TetsuoUmezawa copy()
|
public TetsuoUmezawa copy() {
|
||||||
{
|
|
||||||
return new TetsuoUmezawa(this);
|
return new TetsuoUmezawa(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -139,12 +133,11 @@ class TetsuoUmezawaEffect extends ContinuousRuleModifiyingEffectImpl {
|
||||||
Card targetCard = game.getCard(event.getTargetId());
|
Card targetCard = game.getCard(event.getTargetId());
|
||||||
StackObject stackObject = (StackObject) game.getStack().getStackObject(event.getSourceId());
|
StackObject stackObject = (StackObject) game.getStack().getStackObject(event.getSourceId());
|
||||||
if (targetCard != null && stackObject != null && targetCard.getId().equals(source.getSourceId())) {
|
if (targetCard != null && stackObject != null && targetCard.getId().equals(source.getSourceId())) {
|
||||||
if (stackObject.getSubtype().contains("Aura"))
|
if (stackObject.getSubtype().contains("Aura")) {
|
||||||
{
|
return true;
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue