mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Added hints to cards;
This commit is contained in:
parent
aedc3dde2c
commit
92ce8be91d
3 changed files with 5 additions and 2 deletions
|
@ -8,6 +8,7 @@ import mage.abilities.condition.common.PermanentsOnTheBattlefieldCondition;
|
|||
import mage.abilities.decorator.ConditionalContinuousEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
||||
import mage.abilities.hint.ConditionHint;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
|
@ -27,6 +28,7 @@ public final class ChargingWarBoar extends CardImpl {
|
|||
|
||||
private static final Condition condition
|
||||
= new PermanentsOnTheBattlefieldCondition(new FilterControlledPlaneswalkerPermanent(SubType.DOMRI));
|
||||
private static final ConditionHint hint = new ConditionHint(condition, "You control Domri planeswalker");
|
||||
|
||||
public ChargingWarBoar(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}{G}");
|
||||
|
@ -51,6 +53,7 @@ public final class ChargingWarBoar extends CardImpl {
|
|||
TrampleAbility.getInstance(), Duration.WhileOnBattlefield
|
||||
), condition, "and has trample"
|
||||
));
|
||||
ability.addHint(hint);
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import mage.game.Game;
|
|||
public enum CitysBlessingHint implements Hint {
|
||||
|
||||
instance;
|
||||
private static final ConditionHint hint = new ConditionHint(CitysBlessingCondition.instance, "Have city's blessing");
|
||||
private static final ConditionHint hint = new ConditionHint(CitysBlessingCondition.instance, "You have city's blessing");
|
||||
|
||||
@Override
|
||||
public String getText(Game game, Ability ability) {
|
||||
|
|
|
@ -13,7 +13,7 @@ import mage.game.Game;
|
|||
public enum DeliriumHint implements Hint {
|
||||
|
||||
instance;
|
||||
private static final ConditionHint hint = new ConditionHint(DeliriumCondition.instance, "4+ card types in the graveyard");
|
||||
private static final ConditionHint hint = new ConditionHint(DeliriumCondition.instance, "4+ card types in your graveyard");
|
||||
|
||||
@Override
|
||||
public String getText(Game game, Ability ability) {
|
||||
|
|
Loading…
Reference in a new issue