mirror of
https://github.com/correl/mage.git
synced 2024-11-29 03:00:12 +00:00
* Fixed token creation of Shark Typhoon (fixes #6572).
This commit is contained in:
parent
5743e4361e
commit
365754b6f7
1 changed files with 2 additions and 2 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, false
|
||||
new SharkTyphoonCastEffect(), StaticFilters.FILTER_SPELL_A_NON_CREATURE, false, true
|
||||
));
|
||||
|
||||
// Cycling {X}{1}{U}
|
||||
|
@ -69,7 +69,7 @@ class SharkTyphoonCastEffect extends OneShotEffect {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Spell spell = game.getSpell(targetPointer.getFirst(game, source));
|
||||
Spell spell = game.getSpell(getTargetPointer().getFirst(game, source));
|
||||
int xValue = 0;
|
||||
if (spell != null) {
|
||||
xValue = spell.getConvertedManaCost();
|
||||
|
|
Loading…
Reference in a new issue