forked from External/mage
* GUI: added card icon for announced X value (card cast);
This commit is contained in:
parent
fc0ff6c22d
commit
76082e1d7a
9 changed files with 353 additions and 12 deletions
|
|
@ -81,7 +81,11 @@ public class CopyTokenFunction implements Function<Token, Card> {
|
|||
|
||||
for (Ability ability0 : sourceObj.getAbilities()) {
|
||||
Ability ability = ability0.copy();
|
||||
ability.newOriginalId(); // The token is independant from the copy from object so it need a new original Id, otherwise there are problems to check for created continuous effects to check if the source (the Token) has still this ability
|
||||
|
||||
// The token is independant from the copy from object so it need a new original Id,
|
||||
// otherwise there are problems to check for created continuous effects to check if
|
||||
// the source (the Token) has still this ability
|
||||
ability.newOriginalId();
|
||||
|
||||
target.addAbility(ability);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue