Code cleanup

This commit is contained in:
Oleg Agafonov 2020-06-10 00:24:58 +04:00
parent 44b84bfbbc
commit 85e90e8edf
9 changed files with 11 additions and 11 deletions

View file

@ -98,7 +98,7 @@ class AccursedWitchSpellsCostReductionEffect extends CostModificationEffectImpl
AccursedWitchSpellsCostReductionEffect() {
super(Duration.WhileOnBattlefield, Outcome.Detriment, CostModificationType.REDUCE_COST);
this.staticText = "Spells your opponents cast that target {this} cost {1} less to cast.";
this.staticText = "Spells your opponents cast that target {this} cost {1} less to cast";
}
private AccursedWitchSpellsCostReductionEffect(AccursedWitchSpellsCostReductionEffect effect) {

View file

@ -50,7 +50,7 @@ class AetherStormReplacementEffect extends ContinuousRuleModifyingEffectImpl {
public AetherStormReplacementEffect() {
super(Duration.WhileOnBattlefield, Outcome.Detriment);
staticText = "Creature spells can't be cast.";
staticText = "Creature spells can't be cast";
}
private AetherStormReplacementEffect(final AetherStormReplacementEffect effect) {

View file

@ -98,7 +98,7 @@ class CloudKeyCostModificationEffect extends CostModificationEffectImpl {
public CloudKeyCostModificationEffect() {
super(Duration.WhileOnBattlefield, Outcome.Benefit, CostModificationType.REDUCE_COST);
this.staticText = "Spells you cast of the chosen type cost {1} less to cast.";
this.staticText = "Spells you cast of the chosen type cost {1} less to cast";
}
public CloudKeyCostModificationEffect(final CloudKeyCostModificationEffect effect) {

View file

@ -48,7 +48,7 @@ class GaddockTeegReplacementEffect4 extends ContinuousRuleModifyingEffectImpl {
public GaddockTeegReplacementEffect4() {
super(Duration.WhileOnBattlefield, Outcome.Detriment);
staticText = "Noncreature spells with converted mana cost 4 or greater can't be cast. Noncreature spells with {X} in their mana costs can't be cast.";
staticText = "Noncreature spells with converted mana cost 4 or greater can't be cast. Noncreature spells with {X} in their mana costs can't be cast";
}
public GaddockTeegReplacementEffect4(final GaddockTeegReplacementEffect4 effect) {
@ -85,7 +85,7 @@ class GaddockTeegReplacementEffectX extends ContinuousRuleModifyingEffectImpl {
public GaddockTeegReplacementEffectX() {
super(Duration.WhileOnBattlefield, Outcome.Detriment);
staticText = "Noncreature spells with {X} in their mana costs can't be cast.";
staticText = "Noncreature spells with {X} in their mana costs can't be cast";
}
public GaddockTeegReplacementEffectX(final GaddockTeegReplacementEffectX effect) {

View file

@ -106,7 +106,7 @@ class InfectiousCurseCostReductionEffect extends CostModificationEffectImpl {
public InfectiousCurseCostReductionEffect() {
super(Duration.WhileOnBattlefield, Outcome.Benefit, CostModificationType.REDUCE_COST);
this.staticText = "Spells you cast that target enchanted player cost {1} less to cast.";
this.staticText = "Spells you cast that target enchanted player cost {1} less to cast";
}
protected InfectiousCurseCostReductionEffect(InfectiousCurseCostReductionEffect effect) {

View file

@ -51,7 +51,7 @@ class MeddlingMageReplacementEffect extends ContinuousRuleModifyingEffectImpl {
public MeddlingMageReplacementEffect() {
super(Duration.WhileOnBattlefield, Outcome.Detriment);
staticText = "Spells with the chosen name can't be cast.";
staticText = "Spells with the chosen name can't be cast";
}
public MeddlingMageReplacementEffect(final MeddlingMageReplacementEffect effect) {

View file

@ -53,7 +53,7 @@ class SenatorLottDodSpellsTargetingCreatureCostReductionEffect extends CostModif
public SenatorLottDodSpellsTargetingCreatureCostReductionEffect() {
super(Duration.WhileOnBattlefield, Outcome.Benefit, CostModificationType.INCREASE_COST);
this.staticText = "Spell your opponents cast that target a creature you control cost {1} more to cast.";
this.staticText = "Spell your opponents cast that target a creature you control cost {1} more to cast";
}
protected SenatorLottDodSpellsTargetingCreatureCostReductionEffect(SenatorLottDodSpellsTargetingCreatureCostReductionEffect effect) {
@ -96,7 +96,7 @@ class SenatorLottDodSpellsTargetingYouCostReductionEffect extends CostModificati
public SenatorLottDodSpellsTargetingYouCostReductionEffect() {
super(Duration.WhileOnBattlefield, Outcome.Benefit, CostModificationType.INCREASE_COST);
this.staticText = "Spells your opponents cast that target you cost {2} more to cast.";
this.staticText = "Spells your opponents cast that target you cost {2} more to cast";
}
protected SenatorLottDodSpellsTargetingYouCostReductionEffect(SenatorLottDodSpellsTargetingYouCostReductionEffect effect) {

View file

@ -89,7 +89,7 @@ class WillKenrithCostReductionEffect extends OneShotEffect {
WillKenrithCostReductionEffect() {
super(Outcome.Benefit);
this.staticText = "Until your next turn, instant, sorcery, and planeswalker spells that player casts cost {2} less to cast.";
this.staticText = "Until your next turn, instant, sorcery, and planeswalker spells that player casts cost {2} less to cast";
}
WillKenrithCostReductionEffect(final WillKenrithCostReductionEffect effect) {

View file

@ -74,7 +74,7 @@ class FeedingGroundsEffect extends CostModificationEffectImpl {
new ColorPredicate(ObjectColor.GREEN)));
}
private static final String rule = "Red spells cost {1} less to cast. Green spells cost {1} less to cast.";
private static final String rule = "Red spells cost {1} less to cast. Green spells cost {1} less to cast";
private int amount = 1;
public FeedingGroundsEffect() {