forked from External/mage
[AFR] various text fixes
This commit is contained in:
parent
d2f2578cc4
commit
3299641ad4
30 changed files with 78 additions and 66 deletions
|
|
@ -118,24 +118,25 @@ public class BeginningOfEndStepTriggeredAbility extends TriggeredAbilityImpl {
|
|||
}
|
||||
|
||||
private String generateConditionString() {
|
||||
if (interveningIfClauseCondition != null) {
|
||||
if (interveningIfClauseCondition.toString().startsWith("if")) {
|
||||
|
||||
//Fixes punctuation on multiple sentence if-then construction
|
||||
// see -- Colfenor's Urn
|
||||
if (interveningIfClauseCondition.toString().endsWith(".")) {
|
||||
return interveningIfClauseCondition.toString() + " ";
|
||||
}
|
||||
|
||||
return interveningIfClauseCondition.toString() + ", ";
|
||||
} else {
|
||||
return "if {this} is " + interveningIfClauseCondition.toString() + ", ";
|
||||
if (interveningIfClauseCondition == null) {
|
||||
switch (getZone()) {
|
||||
case GRAVEYARD:
|
||||
return "if {this} is in your graveyard, ";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
switch (getZone()) {
|
||||
case GRAVEYARD:
|
||||
return "if {this} is in your graveyard, ";
|
||||
String clauseText = interveningIfClauseCondition.toString();
|
||||
if (clauseText.startsWith("if")) {
|
||||
//Fixes punctuation on multiple sentence if-then construction
|
||||
// see -- Colfenor's Urn
|
||||
if (clauseText.endsWith(".")) {
|
||||
return clauseText + " ";
|
||||
}
|
||||
return clauseText + ", ";
|
||||
}
|
||||
return "";
|
||||
System.out.println("==================");
|
||||
System.out.println(clauseText);
|
||||
System.out.println("==================");
|
||||
return "if " + clauseText + ", ";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue