Merge branch 'fixOathbreaker' into 'master'

Fix Oathbreaker commander replacement

See merge request core-developers/forge!3767
This commit is contained in:
Michael Kamensky
2021-02-06 04:17:22 +00:00

View File

@@ -3146,6 +3146,9 @@ public class Player extends GameEntity implements Comparable<Player> {
String moved = "Event$ Moved | ValidCard$ Card.EffectSource+YouOwn | Secondary$ True | Optional$ True | OptionalDecider$ You | ReplaceWith$ CommanderMoveReplacement ";
if (game.getRules().hasAppliedVariant(GameType.TinyLeaders)) {
moved += " | Destination$ Graveyard,Exile | Description$ If a commander would be put into its owner's graveyard or exile from anywhere, that player may put it into the command zone instead.";
}
else if (game.getRules().hasAppliedVariant(GameType.Oathbreaker)) {
moved += " | Destination$ Graveyard,Exile,Hand,Library | Description$ If a commander would be exiled or put into hand, graveyard, or library from anywhere, that player may put it into the command zone instead.";
} else {
// rule 903.9b
moved += " | Destination$ Hand,Library | Description$ If a commander would be put into its owners hand or library from anywhere, its owner may put it into the command zone instead.";