mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
[MID] a few more text fixes
This commit is contained in:
parent
4fe2904f3f
commit
f3d643a351
8 changed files with 27 additions and 13 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.abilities.effects.common;
|
||||
|
||||
import mage.MageObject;
|
||||
|
|
@ -10,11 +9,9 @@ import mage.filter.FilterObject;
|
|||
import mage.filter.FilterSpell;
|
||||
import mage.game.Game;
|
||||
import mage.game.events.GameEvent;
|
||||
import mage.game.events.GameEvent.EventType;
|
||||
import mage.game.stack.Spell;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class CantBeCounteredControlledEffect extends ContinuousRuleModifyingEffectImpl {
|
||||
|
|
@ -77,7 +74,11 @@ public class CantBeCounteredControlledEffect extends ContinuousRuleModifyingEffe
|
|||
|
||||
private void setText() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(filterTarget.getMessage()).append(" can't be countered");
|
||||
sb.append(filterTarget.getMessage());
|
||||
if (!filterTarget.getMessage().contains("you control")) {
|
||||
sb.append(" you control");
|
||||
}
|
||||
sb.append(" can't be countered");
|
||||
if (filterSource != null) {
|
||||
sb.append(" by ").append(filterSource.getMessage());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue