forked from External/mage
* Fixed available mana calculation for Cryptic Trilobite and Titans' Nest. Added some improvements for available mana calculation of conditional mana.
This commit is contained in:
parent
3d989b24ac
commit
768f1bec4f
100 changed files with 507 additions and 144 deletions
|
|
@ -5,7 +5,6 @@ import mage.game.Game;
|
|||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* Interface describing condition occurrence.
|
||||
*
|
||||
|
|
@ -16,10 +15,14 @@ public interface Condition extends Serializable {
|
|||
|
||||
/**
|
||||
* Checks the game to see if this condition applies for the given ability.
|
||||
*
|
||||
*
|
||||
* @param game
|
||||
* @param source
|
||||
* @return
|
||||
*/
|
||||
boolean apply(Game game, Ability source);
|
||||
|
||||
default String getManaText() {
|
||||
return "{" + this.getClass().getSimpleName() + "}";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue