mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
fix ability cost on Tarrian's Journal (related to 7adbf45, more cleanup still needed on The Tomb of Aclazotz)
This commit is contained in:
parent
678d361877
commit
98ec7dbab1
1 changed files with 5 additions and 6 deletions
|
|
@ -1,13 +1,10 @@
|
|||
/*
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||
*/
|
||||
package mage.cards.t;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.ActivateAsSorceryActivatedAbility;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.DiscardHandCost;
|
||||
import mage.abilities.costs.common.SacrificeTargetCost;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
|
|
@ -50,9 +47,11 @@ public class TarriansJournal extends CardImpl {
|
|||
ability.addCost(new SacrificeTargetCost(filter));
|
||||
this.addAbility(ability);
|
||||
|
||||
// {2}, {T}, Discard your hand: Transform Tarrian's Journal.
|
||||
this.addAbility(new TransformAbility());
|
||||
Ability transformAbility = new SimpleActivatedAbility(new TransformSourceEffect(), new ManaCostsImpl("{2}"));
|
||||
Ability transformAbility = new SimpleActivatedAbility(new TransformSourceEffect(), new ManaCostsImpl<>("{2}"));
|
||||
transformAbility.addCost(new TapSourceCost());
|
||||
transformAbility.addCost(new DiscardHandCost());
|
||||
this.addAbility(transformAbility);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue