mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Fixed OfferingEffect
This commit is contained in:
parent
f5882af3f7
commit
bd3d007145
1 changed files with 2 additions and 1 deletions
|
@ -42,6 +42,7 @@ import mage.abilities.costs.mana.ManaCosts;
|
|||
import mage.abilities.effects.AsThoughEffectImpl;
|
||||
import mage.abilities.effects.CostModificationEffectImpl;
|
||||
import mage.cards.Card;
|
||||
import mage.constants.CostModificationType;
|
||||
import mage.filter.common.FilterControlledCreaturePermanent;
|
||||
import mage.filter.predicate.mageobject.SubtypePredicate;
|
||||
import mage.game.Game;
|
||||
|
@ -189,7 +190,7 @@ class OfferingCostReductionEffect extends CostModificationEffectImpl<OfferingCos
|
|||
private ManaCosts<ManaCost> manaCostsToReduce;
|
||||
|
||||
OfferingCostReductionEffect (UUID spellAbilityId, ManaCosts<ManaCost> manaCostsToReduce, UUID activationId) {
|
||||
super(Duration.OneUse, Outcome.Benefit);
|
||||
super(Duration.OneUse, Outcome.Benefit, CostModificationType.REDUCE_COST);
|
||||
this.spellAbilityId = spellAbilityId;
|
||||
this.manaCostsToReduce = manaCostsToReduce;
|
||||
this.activationId = activationId;
|
||||
|
|
Loading…
Reference in a new issue