forked from External/mage
[WOE] Implement Gallant Pie-Wielder
This commit is contained in:
parent
85ba14cabd
commit
babf2ba6b8
4 changed files with 62 additions and 2 deletions
|
|
@ -3,6 +3,8 @@ 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.CelebrationWatcher;
|
||||
|
||||
|
|
@ -11,6 +13,7 @@ import mage.watchers.common.CelebrationWatcher;
|
|||
*/
|
||||
public enum CelebrationCondition implements Condition {
|
||||
instance;
|
||||
private static final Hint hint = new ConditionHint(instance, "You had two or more nonland permanents enter this turn");
|
||||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
|
|
@ -22,4 +25,8 @@ public enum CelebrationCondition implements Condition {
|
|||
public String toString() {
|
||||
return "two or more nonland permanents entered the battlefield under your control this turn";
|
||||
}
|
||||
|
||||
public static Hint getHint() {
|
||||
return hint;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue