fixed Shark Typhoon

This commit is contained in:
Evan Kranzler 2020-04-20 21:44:28 -04:00
parent 062410caca
commit 818f272567

View file

@ -31,7 +31,7 @@ public final class SharkTyphoon extends CardImpl {
// Whenever you cast a noncreature spell, create an X/X blue Shark creature token with flying, where X is that spell's converted mana cost.
this.addAbility(new SpellCastControllerTriggeredAbility(
new SharkTyphoonCastEffect(), StaticFilters.FILTER_SPELL_A_NON_CREATURE, true
new SharkTyphoonCastEffect(), StaticFilters.FILTER_SPELL_A_NON_CREATURE, false
));
// Cycling {X}{1}{U}
@ -81,7 +81,7 @@ class SharkTyphoonCastEffect extends OneShotEffect {
class SharkTyphoonTriggeredAbility extends ZoneChangeTriggeredAbility {
SharkTyphoonTriggeredAbility() {
super(Zone.ALL, null, "When you cycle {this}, ", false);
super(Zone.ALL, null, "", false);
}
private SharkTyphoonTriggeredAbility(SharkTyphoonTriggeredAbility ability) {
@ -103,7 +103,7 @@ class SharkTyphoonTriggeredAbility extends ZoneChangeTriggeredAbility {
return false;
}
this.getEffects().clear();
this.addEffect(new CreateTokenEffect(new SharkToken(object.getManaCost().getX())));
this.addEffect(new CreateTokenEffect(new SharkToken(object.getStackAbility().getManaCostsToPay().getX())));
return true;
}
@ -111,4 +111,9 @@ class SharkTyphoonTriggeredAbility extends ZoneChangeTriggeredAbility {
public SharkTyphoonTriggeredAbility copy() {
return new SharkTyphoonTriggeredAbility(this);
}
@Override
public String getRule() {
return "When you cycle {this}, create an X/X blue Shark creature token with flying.";
}
}