mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
implement [MH3] Aether Revolt
This commit is contained in:
parent
66d215c9eb
commit
be72a5bba6
3 changed files with 147 additions and 0 deletions
|
|
@ -3,16 +3,26 @@ package mage.abilities.condition.common;
|
|||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.condition.Condition;
|
||||
import mage.abilities.hint.ConditionHint;
|
||||
import mage.abilities.hint.Hint;
|
||||
import mage.game.Game;
|
||||
import mage.watchers.common.RevoltWatcher;
|
||||
|
||||
/**
|
||||
* Needs RevoltWatcher to work.
|
||||
*
|
||||
* @author emerald000
|
||||
*/
|
||||
public enum RevoltCondition implements Condition {
|
||||
|
||||
instance;
|
||||
|
||||
private static final Hint hint = new ConditionHint(instance);
|
||||
|
||||
public static Hint getHint() {
|
||||
return hint;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
RevoltWatcher watcher = game.getState().getWatcher(RevoltWatcher.class);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue