mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
Implemented more Legends cards
This commit is contained in:
parent
d91374c8bc
commit
23456d4fce
9 changed files with 735 additions and 0 deletions
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
package mage.abilities.condition.common;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.condition.Condition;
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.game.Game;
|
||||
|
||||
/**
|
||||
* @author L_J
|
||||
*/
|
||||
public enum AfterCombatCondition implements Condition {
|
||||
|
||||
instance;
|
||||
@Override
|
||||
|
||||
public boolean apply(Game game, Ability source) {
|
||||
return game.getStep().getType().isAfter(PhaseStep.END_COMBAT);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "after combat";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue