mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
* My turn condition - added card hints about turn;
This commit is contained in:
parent
1a82eba77c
commit
6736f5f3b8
24 changed files with 121 additions and 108 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue