mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Fixed effect texts
This commit is contained in:
parent
476cf92ce6
commit
ad4be5a9fe
8 changed files with 11 additions and 11 deletions
|
@ -71,7 +71,7 @@ public class DontUntapInControllersUntapStepTargetEffect extends ContinuousRuleM
|
|||
if (staticText != null) {
|
||||
return staticText;
|
||||
}
|
||||
return "Target " + mode.getTargets().get(0).getTargetName()
|
||||
return "target " + mode.getTargets().get(0).getTargetName()
|
||||
+ " doesn't untap during its controller's untap step" + (getDuration().toString().isEmpty() ? "" : " " + getDuration());
|
||||
}
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ public class FightTargetsEffect extends OneShotEffect {
|
|||
return staticText;
|
||||
|
||||
}
|
||||
return "Target " + mode
|
||||
return "target " + mode
|
||||
.getTargets().get(0).getTargetName() + " fights another target " + mode
|
||||
.getTargets().get(1).getTargetName();
|
||||
}
|
||||
|
|
|
@ -53,6 +53,6 @@ public class GetEmblemTargetPlayerEffect extends OneShotEffect {
|
|||
if (staticText != null && !staticText.isEmpty()) {
|
||||
return staticText;
|
||||
}
|
||||
return "Target " + mode.getTargets().get(0).getTargetName() + " gets an emblem with \"" + emblem.getAbilities().getRules(null).stream().collect(Collectors.joining("; ")) + "\"";
|
||||
return "target " + mode.getTargets().get(0).getTargetName() + " gets an emblem with \"" + emblem.getAbilities().getRules(null).stream().collect(Collectors.joining("; ")) + "\"";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -48,9 +48,9 @@ public class AttacksIfAbleTargetEffect extends RequirementEffect {
|
|||
return staticText;
|
||||
}
|
||||
if (this.duration == Duration.EndOfTurn) {
|
||||
return "Target " + mode.getTargets().get(0).getTargetName() + " attacks this turn if able";
|
||||
return "target " + mode.getTargets().get(0).getTargetName() + " attacks this turn if able";
|
||||
} else {
|
||||
return "Target " + mode.getTargets().get(0).getTargetName() + " attacks each turn if able";
|
||||
return "target " + mode.getTargets().get(0).getTargetName() + " attacks each turn if able";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -54,10 +54,10 @@ public class BlocksIfAbleTargetEffect extends RequirementEffect {
|
|||
return staticText;
|
||||
}
|
||||
if (this.duration == Duration.EndOfTurn) {
|
||||
return "Target " + mode.getTargets().get(0).getTargetName() + " blocks this turn if able";
|
||||
return "target " + mode.getTargets().get(0).getTargetName() + " blocks this turn if able";
|
||||
}
|
||||
else {
|
||||
return "Target " + mode.getTargets().get(0).getTargetName() + " blocks each turn if able";
|
||||
return "target " + mode.getTargets().get(0).getTargetName() + " blocks each turn if able";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -47,9 +47,9 @@ public class CanAttackAsThoughItDidntHaveDefenderTargetEffect extends AsThoughEf
|
|||
}
|
||||
if (!mode.getTargets().isEmpty()) {
|
||||
if (this.duration == Duration.EndOfTurn) {
|
||||
return "Target " + mode.getTargets().get(0).getTargetName() + " can attack this turn as though it didn't have defender";
|
||||
return "target " + mode.getTargets().get(0).getTargetName() + " can attack this turn as though it didn't have defender";
|
||||
} else {
|
||||
return "Target " + mode.getTargets().get(0).getTargetName() + " can attack as though it didn't have defender";
|
||||
return "target " + mode.getTargets().get(0).getTargetName() + " can attack as though it didn't have defender";
|
||||
}
|
||||
} else {
|
||||
throw new UnsupportedOperationException("No target defined");
|
||||
|
|
|
@ -40,6 +40,6 @@ public class LoseAllCreatureTypesTargetEffect extends ContinuousEffectImpl {
|
|||
if (staticText != null && !staticText.isEmpty()) {
|
||||
return staticText;
|
||||
}
|
||||
return "Target " + mode.getTargets().get(0).getTargetName() + " loses all creature types " + duration.toString();
|
||||
return "target " + mode.getTargets().get(0).getTargetName() + " loses all creature types " + duration.toString();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,6 +51,6 @@ public class AddPoisonCounterTargetEffect extends OneShotEffect {
|
|||
if(staticText != null && !staticText.isEmpty()) {
|
||||
return staticText;
|
||||
}
|
||||
return "Target " + mode.getTargets().get(0).getTargetName() + " gets " + Integer.toString(amount) + " poison counter(s).";
|
||||
return "target " + mode.getTargets().get(0).getTargetName() + " gets " + Integer.toString(amount) + " poison counter(s).";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue