mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
[40K] Implemented The Swarmlord
This commit is contained in:
parent
39191a4bd8
commit
0d4cf5a20a
5 changed files with 74 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue