forked from External/mage
* [LTR] Implement The Balrog, Durin's Bane I could use someone more experienced for this card: Should the watcher `PermanentsSacrificedWatcher` be initialized locally in the card's class, or is a global initializing in GameImpl.java alright? I went for the latter for now, as my base for implementing the static cost reduction was Blood for the Blood God! * apply review * no longer instantiate watcher on every game.
28 lines
711 B
Java
28 lines
711 B
Java
package mage.abilities.hint.common;
|
|
|
|
import mage.abilities.Ability;
|
|
import mage.abilities.dynamicvalue.common.PermanentsSacrificedThisTurnCount;
|
|
import mage.abilities.hint.Hint;
|
|
import mage.abilities.hint.ValueHint;
|
|
import mage.game.Game;
|
|
|
|
/**
|
|
* @author Susucr
|
|
*/
|
|
public enum PermanentsSacrificedThisTurnHint implements Hint {
|
|
instance;
|
|
|
|
private static final Hint hint = new ValueHint(
|
|
"Permanents sacrificed this turn", PermanentsSacrificedThisTurnCount.instance
|
|
);
|
|
|
|
@Override
|
|
public String getText(Game game, Ability ability) {
|
|
return hint.getText(game, ability);
|
|
}
|
|
|
|
@Override
|
|
public PermanentsSacrificedThisTurnHint copy() {
|
|
return this;
|
|
}
|
|
}
|