[40K] Implemented The Swarmlord

This commit is contained in:
Evan Kranzler 2022-09-13 09:57:56 -04:00
parent 39191a4bd8
commit 0d4cf5a20a
5 changed files with 74 additions and 8 deletions

View file

@ -3,6 +3,8 @@ package mage.abilities.dynamicvalue.common;
import mage.abilities.Ability;
import mage.abilities.dynamicvalue.DynamicValue;
import mage.abilities.effects.Effect;
import mage.abilities.hint.Hint;
import mage.abilities.hint.ValueHint;
import mage.game.Game;
import mage.watchers.common.CommanderPlaysCountWatcher;
@ -11,6 +13,7 @@ import mage.watchers.common.CommanderPlaysCountWatcher;
*/
public enum CommanderCastCountValue implements DynamicValue {
instance;
private static final Hint hint = new ValueHint("Commanders cast from command zone", instance);
@Override
public int calculate(Game game, Ability sourceAbility, Effect effect) {
@ -32,4 +35,8 @@ public enum CommanderCastCountValue implements DynamicValue {
public String getMessage() {
return "time you've cast a commander from the command zone this game";
}
public static Hint getHint() {
return hint;
}
}