mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
Fixed that Stoneforge Mystic triggered ability casted the equipments without mana costs instead of putting it simply onto the battlefield.
This commit is contained in:
parent
b55d2bd370
commit
560935c0fb
1 changed files with 2 additions and 1 deletions
|
@ -46,6 +46,7 @@ import mage.target.common.TargetCardInHand;
|
|||
import mage.target.common.TargetCardInLibrary;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.effects.common.PutOntoBattlefieldTargetEffect;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -74,7 +75,7 @@ public class StoneforgeMystic extends CardImpl<StoneforgeMystic> {
|
|||
this.addAbility(new EntersBattlefieldTriggeredAbility(new SearchLibraryPutInHandEffect(target, true, true), true));
|
||||
|
||||
// {1}{W}, {T}: You may put an Equipment card from your hand onto the battlefield.
|
||||
SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PlayTargetWithoutPayingManaEffect(), new ManaCostsImpl("{1}{W}"));
|
||||
SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PutOntoBattlefieldTargetEffect(false, true), new ManaCostsImpl("{1}{W}"));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addTarget(new TargetCardInHand(0, 1, filter));
|
||||
this.addAbility(ability);
|
||||
|
|
Loading…
Reference in a new issue