mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 20:32:06 -08:00
* Transmute - Fied that transmute could be activated wrongy as instant instead of only at sorcery time.
This commit is contained in:
parent
170920de6b
commit
0aa263cd55
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ import mage.players.Player;
|
|||
import mage.target.common.TargetCardInLibrary;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.constants.TimingRule;
|
||||
|
||||
/**
|
||||
* @author Loki
|
||||
|
|
@ -25,6 +26,7 @@ import java.util.UUID;
|
|||
public class TransmuteAbility extends SimpleActivatedAbility {
|
||||
public TransmuteAbility(String manaCost) {
|
||||
super(Zone.HAND, new TransmuteEffect(), new ManaCostsImpl(manaCost));
|
||||
this.setTiming(TimingRule.SORCERY);
|
||||
this.addCost(new DiscardSourceCost());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue