forked from External/mage
Refactor: Add proper support for modifying and querying base P/T (#9409)
This commit is contained in:
parent
d83eb41073
commit
07a142c9e8
415 changed files with 1844 additions and 2095 deletions
|
|
@ -224,11 +224,11 @@ public class CreateTokenCopyTargetEffect extends OneShotEffect {
|
|||
}
|
||||
if (tokenPower != Integer.MIN_VALUE) {
|
||||
token.removePTCDA();
|
||||
token.getPower().modifyBaseValue(tokenPower);
|
||||
token.setPower(tokenPower);
|
||||
}
|
||||
if (tokenToughness != Integer.MIN_VALUE) {
|
||||
token.removePTCDA();
|
||||
token.getToughness().modifyBaseValue(tokenToughness);
|
||||
token.setToughness(tokenToughness);
|
||||
}
|
||||
if (onlySubType != null) {
|
||||
token.removeAllCreatureTypes();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue