* My turn condition - added card hints about turn;

This commit is contained in:
Oleg Agafonov 2020-01-12 21:59:56 +04:00
parent 1a82eba77c
commit 6736f5f3b8
24 changed files with 121 additions and 108 deletions

View file

@ -1,4 +1,3 @@
package mage.abilities.common;
import mage.abilities.ActivatedAbilityImpl;
@ -11,7 +10,6 @@ import mage.game.Game;
import mage.util.CardUtil;
/**
*
* @author BetaSteward_at_googlemail.com
*/
public class LimitedTimesPerTurnActivatedAbility extends ActivatedAbilityImpl {
@ -24,6 +22,7 @@ public class LimitedTimesPerTurnActivatedAbility extends ActivatedAbilityImpl {
this(zone, effect, cost, maxActivationsPerTurn, null);
}
// TODO: add card hint about times activated, see https://github.com/magefree/mage/issues/5497
public LimitedTimesPerTurnActivatedAbility(Zone zone, Effect effect, Cost cost, int maxActivationsPerTurn, Condition condition) {
super(zone, effect, cost);
this.maxActivationsPerTurn = maxActivationsPerTurn;

View file

@ -10,6 +10,13 @@ import java.io.Serializable;
*/
public interface Hint extends Serializable {
// TODO: add card hint for ActivateIfConditionActivatedAbility
// * remove my turn condition from cards construction
// * test condition texts (add alternative texts to donditions like getHintText?)
// * add auto-capitalize of first symbol
// * add support of compound conditions
// see https://github.com/magefree/mage/issues/5497
String getText(Game game, Ability ability);
Hint copy();