mirror of
https://github.com/correl/mage.git
synced 2025-01-12 11:08:01 +00:00
fixed Shark Typhoon
This commit is contained in:
parent
062410caca
commit
818f272567
1 changed files with 8 additions and 3 deletions
|
@ -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.";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue