mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
Improved Altered Ego rules documentation
This commit is contained in:
parent
177f72c8d8
commit
193a19104c
2 changed files with 9 additions and 2 deletions
|
|
@ -73,7 +73,14 @@ class AlteredEgoCopyApplier extends CopyApplier {
|
||||||
(int)CardUtil.getSourceCostsTag(game, source, "X", 0)
|
(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;
|
return true;
|
||||||
|
|
|
||||||
|
|
@ -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.
|
* 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.
|
* 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)
|
* (2016-04-08)
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue