mirror of
https://github.com/correl/mage.git
synced 2025-04-09 17:00:09 -09:00
* Piston-Fist Cylops - Fixed that it was never able to attack.
This commit is contained in:
parent
0be9867257
commit
c79aea399b
1 changed files with 7 additions and 7 deletions
|
@ -6,7 +6,7 @@ import mage.MageInt;
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
import mage.abilities.common.SimpleStaticAbility;
|
import mage.abilities.common.SimpleStaticAbility;
|
||||||
import mage.abilities.condition.Condition;
|
import mage.abilities.condition.Condition;
|
||||||
import mage.abilities.decorator.ConditionalContinuousEffect;
|
import mage.abilities.decorator.ConditionalAsThoughEffect;
|
||||||
import mage.abilities.effects.common.combat.CanAttackAsThoughItDidntHaveDefenderSourceEffect;
|
import mage.abilities.effects.common.combat.CanAttackAsThoughItDidntHaveDefenderSourceEffect;
|
||||||
import mage.constants.SubType;
|
import mage.constants.SubType;
|
||||||
import mage.abilities.keyword.DefenderAbility;
|
import mage.abilities.keyword.DefenderAbility;
|
||||||
|
@ -38,14 +38,14 @@ public final class PistonFistCyclops extends CardImpl {
|
||||||
// As long as you've cast an instant or sorcery spell this turn, Piston-Fist Cyclops can attack as though it didn't have defender.
|
// As long as you've cast an instant or sorcery spell this turn, Piston-Fist Cyclops can attack as though it didn't have defender.
|
||||||
this.addAbility(new SimpleStaticAbility(
|
this.addAbility(new SimpleStaticAbility(
|
||||||
Zone.BATTLEFIELD,
|
Zone.BATTLEFIELD,
|
||||||
new ConditionalContinuousEffect(
|
new ConditionalAsThoughEffect(
|
||||||
new CanAttackAsThoughItDidntHaveDefenderSourceEffect(
|
new CanAttackAsThoughItDidntHaveDefenderSourceEffect(
|
||||||
Duration.WhileOnBattlefield
|
Duration.WhileOnBattlefield
|
||||||
), PistonFistCyclopsCondition.instance,
|
), PistonFistCyclopsCondition.instance)
|
||||||
"As long as you've cast an instant or sorcery spell this turn, "
|
.setText("As long as you've cast an instant or sorcery spell this turn, "
|
||||||
+ "{this} can attack as though it didn't have defender."
|
+ "{this} can attack as though it didn't have defender")
|
||||||
)
|
),
|
||||||
), new SpellsCastWatcher());
|
new SpellsCastWatcher());
|
||||||
}
|
}
|
||||||
|
|
||||||
public PistonFistCyclops(final PistonFistCyclops card) {
|
public PistonFistCyclops(final PistonFistCyclops card) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue