mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08:00
refactor: better naming for new duration, fixed description
This commit is contained in:
parent
a1ca4f5adc
commit
ce055a3bb3
3 changed files with 4 additions and 4 deletions
|
|
@ -78,7 +78,7 @@ public class ContinuousEffectsList<T extends ContinuousEffect> extends ArrayList
|
|||
T entry = i.next();
|
||||
boolean canRemove;
|
||||
switch (entry.getDuration()) {
|
||||
case UntilTheNextEndStep:
|
||||
case UntilNextEndStep:
|
||||
canRemove = true;
|
||||
break;
|
||||
case UntilYourNextEndStep:
|
||||
|
|
@ -192,7 +192,7 @@ public class ContinuousEffectsList<T extends ContinuousEffect> extends ArrayList
|
|||
}
|
||||
break;
|
||||
case EndOfTurn:
|
||||
case UntilTheNextEndStep:
|
||||
case UntilNextEndStep:
|
||||
// end of turn discards on cleanup steps
|
||||
// 514.2
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ public enum Duration {
|
|||
EndOfTurn("until end of turn", true, true),
|
||||
UntilYourNextTurn("until your next turn", true, true),
|
||||
UntilYourNextEndStep("until your next end step", true, true),
|
||||
UntilTheNextEndStep("until your next end step", true, true),
|
||||
UntilNextEndStep("until the beginning of the next end step", true, true),
|
||||
UntilEndCombatOfYourNextTurn("until end of combat on your next turn", true, true),
|
||||
UntilYourNextUpkeepStep("until your next upkeep", true, true),
|
||||
UntilEndOfYourNextTurn("until the end of your next turn", true, true),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue