forked from External/mage
Added new SpellCostReductionSourceEffect to implement conditional source spell cost reductions.
This commit is contained in:
parent
cabe33395c
commit
27c8f8fd47
3 changed files with 113 additions and 3 deletions
|
|
@ -40,10 +40,11 @@ import mage.game.Game;
|
|||
* construction to setup the object for use by the mage framework.
|
||||
|
||||
* @author maurer.it_at_gmail.com
|
||||
* @param <T>
|
||||
*/
|
||||
public abstract class CostModificationEffectImpl<T extends CostModificationEffectImpl<T>> extends ContinuousEffectImpl<T> implements CostModificationEffect<T> {
|
||||
|
||||
private CostModificationType modificationType;
|
||||
private final CostModificationType modificationType;
|
||||
|
||||
public CostModificationEffectImpl ( Duration duration, Outcome outcome, CostModificationType type) {
|
||||
super(duration, outcome);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue