forked from External/mage
* Fixed a problem with token P/T reset (fixes the problem with Tree of Perdition and Soul Separator).
This commit is contained in:
parent
0af7871804
commit
21baa14404
4 changed files with 10 additions and 9 deletions
|
|
@ -193,10 +193,10 @@ public class PutTokenOntoBattlefieldCopyTargetEffect extends OneShotEffect {
|
|||
token.addAbility(FlyingAbility.getInstance());
|
||||
}
|
||||
if (tokenPower != Integer.MIN_VALUE) {
|
||||
token.setPower(tokenPower);
|
||||
token.getPower().modifyBaseValue(tokenPower);
|
||||
}
|
||||
if (tokenToughness != Integer.MIN_VALUE) {
|
||||
token.setToughness(tokenToughness);
|
||||
token.getToughness().modifyBaseValue(tokenToughness);
|
||||
}
|
||||
if (additionalSubType != null && !token.getSubtype(game).contains(additionalSubType)) {
|
||||
token.getSubtype(game).add(additionalSubType);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue