Added new SpellCostReductionSourceEffect to implement conditional source spell cost reductions.

This commit is contained in:
LevelX2 2014-03-11 16:40:50 +01:00
parent cabe33395c
commit 27c8f8fd47
3 changed files with 113 additions and 3 deletions

View file

@ -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);