Improved Altered Ego rules documentation

This commit is contained in:
Steven Knipe 2023-11-16 23:35:09 -08:00
parent 177f72c8d8
commit 193a19104c
2 changed files with 9 additions and 2 deletions

View file

@ -73,7 +73,14 @@ class AlteredEgoCopyApplier extends CopyApplier {
(int)CardUtil.getSourceCostsTag(game, source, "X", 0)
)))
);
CardUtil.getSourceCostsTagsMap(game, source).remove("X"); //X value of Altered Ego is separate from the copied creature's X value
/*
* If the chosen creature has {X} in its mana cost, that X is considered to be 0.
* The value of X in Altered Ego's last ability will be whatever value was chosen for X while casting Altered Ego.
* (2016-04-08)
* So the X value of Altered Ego must be separate from the copied creature's X value
*/
CardUtil.getSourceCostsTagsMap(game, source).remove("X");
}
return true;

View file

@ -56,7 +56,7 @@ public class AlteredEgoTest extends CardTestPlayerBase {
/**
* If the chosen creature has {X} in its mana cost, that X is considered to be 0.
* The value of X in Altered Egos last ability will be whatever value was chosen for X while casting Altered Ego.
* The value of X in Altered Ego's last ability will be whatever value was chosen for X while casting Altered Ego.
* (2016-04-08)
*/
@Test