forked from External/mage
Fixed cost modification order (Rule 601.2e) and added CostModificationType
This commit is contained in:
parent
d2f83b1ade
commit
3144409c2c
27 changed files with 222 additions and 28 deletions
|
|
@ -29,6 +29,7 @@
|
|||
package mage.abilities.effects;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.constants.CostModificationType;
|
||||
import mage.game.Game;
|
||||
|
||||
/**
|
||||
|
|
@ -64,4 +65,10 @@ public interface CostModificationEffect<T extends CostModificationEffect<T>> ext
|
|||
* @return
|
||||
*/
|
||||
boolean applies(Ability abilityToModify, Ability source, Game game);
|
||||
|
||||
/**
|
||||
* Return the type of modification
|
||||
* @return
|
||||
*/
|
||||
CostModificationType getModificationType();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue