mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
removed captialization in effect rule generation to see if it passes tests
This commit is contained in:
parent
abc5a601d8
commit
120915c949
3 changed files with 10 additions and 12 deletions
|
@ -124,8 +124,6 @@ public class BeginningOfEndStepTriggeredAbility extends TriggeredAbilityImpl {
|
|||
case OPPONENT:
|
||||
return sb.insert(0, generateConditionString()).insert(0, abilityWordRule + "At the beginning of each opponent's end step, ").toString();
|
||||
case ANY:
|
||||
//System.out.print("Beg.EndStep - Final Out::");
|
||||
//m.System.out.println(sb.insert(0, generateConditionString()).insert(0, abilityWordRule + "At the beginning of each end step, ").toString());
|
||||
return sb.insert(0, generateConditionString()).insert(0, abilityWordRule + "At the beginning of each end step, ").toString();
|
||||
case EACH_PLAYER:
|
||||
return sb.insert(0, generateConditionString()).insert(0, abilityWordRule + "At the beginning of each player's end step, ").toString();
|
||||
|
@ -139,7 +137,7 @@ public class BeginningOfEndStepTriggeredAbility extends TriggeredAbilityImpl {
|
|||
if (interveningIfClauseCondition != null) {
|
||||
if (interveningIfClauseCondition.toString().startsWith("if")) {
|
||||
|
||||
//Fixes punctuation on multiple sentence if, then construction
|
||||
//Fixes punctuation on multiple sentence if-then construction
|
||||
// see -- Colfenor's Urn
|
||||
if (interveningIfClauseCondition.toString().endsWith(".")){
|
||||
return interveningIfClauseCondition.toString() + " ";
|
||||
|
|
|
@ -133,15 +133,15 @@ public class BeginningOfUpkeepTriggeredAbility extends TriggeredAbilityImpl {
|
|||
sb.insert(0, "you may ");
|
||||
}
|
||||
}
|
||||
return sb.insert(0, generateZoneString()).insert(0, "at the beginning of your upkeep, ").toString(); //removed capitalization
|
||||
return sb.insert(0, generateZoneString()).insert(0, "At the beginning of your upkeep, ").toString();
|
||||
case OPPONENT:
|
||||
return sb.insert(0, generateZoneString()).insert(0, "at the beginning of each opponent's upkeep, ").toString(); //removed capitalization
|
||||
return sb.insert(0, generateZoneString()).insert(0, "At the beginning of each opponent's upkeep, ").toString();
|
||||
case ANY:
|
||||
return sb.insert(0, generateZoneString()).insert(0, "at the beginning of each upkeep, ").toString(); //removed capitalization
|
||||
return sb.insert(0, generateZoneString()).insert(0, "At the beginning of each upkeep, ").toString();
|
||||
case ACTIVE:
|
||||
return sb.insert(0, generateZoneString()).insert(0, "at the beginning of each player's upkeep, ").toString(); //removed capitalization
|
||||
return sb.insert(0, generateZoneString()).insert(0, "At the beginning of each player's upkeep, ").toString();
|
||||
case CONTROLLER_ATTACHED_TO:
|
||||
return sb.insert(0, generateZoneString()).insert(0, "at the beginning of the upkeep of enchanted creature's controller, ").toString(); //removed capitalization
|
||||
return sb.insert(0, generateZoneString()).insert(0, "At the beginning of the upkeep of enchanted creature's controller, ").toString();
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
|
|
@ -90,16 +90,16 @@ public class AtTheBeginOfNextEndStepDelayedTriggeredAbility extends DelayedTrigg
|
|||
StringBuilder sb = new StringBuilder();
|
||||
switch (targetController) {
|
||||
case YOU:
|
||||
sb.append("at the beginning of your next end step, "); //remove capitalization
|
||||
sb.append("At the beginning of your next end step, ");
|
||||
break;
|
||||
case OPPONENT:
|
||||
sb.append("at the beginning of an opponent's next end step, "); //remove capitalization
|
||||
sb.append("At the beginning of an opponent's next end step, ");
|
||||
break;
|
||||
case ANY:
|
||||
sb.append("at the beginning of the next end step, "); //remove capitalization
|
||||
sb.append("At the beginning of the next end step, ");
|
||||
break;
|
||||
case CONTROLLER_ATTACHED_TO:
|
||||
sb.append("at the beginning of the next end step of enchanted creature's controller, "); //remove capitalization
|
||||
sb.append("At the beginning of the next end step of enchanted creature's controller, ");
|
||||
break;
|
||||
}
|
||||
sb.append(getEffects().getText(modes.getMode()));
|
||||
|
|
Loading…
Reference in a new issue