mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
adjusted default values for power and toughness
This commit is contained in:
parent
8a4a1933b1
commit
0c747a1d41
1 changed files with 5 additions and 3 deletions
|
@ -75,8 +75,8 @@ public class PutTokenOntoBattlefieldCopyTargetEffect extends OneShotEffect {
|
||||||
this.number = 1;
|
this.number = 1;
|
||||||
this.additionalSubType = null;
|
this.additionalSubType = null;
|
||||||
this.attackedPlayer = null;
|
this.attackedPlayer = null;
|
||||||
this.tokenPower = 0;
|
this.tokenPower = Integer.MIN_VALUE;
|
||||||
this.tokenToughness = 0;
|
this.tokenToughness = Integer.MIN_VALUE;
|
||||||
this.gainsFlying = false;
|
this.gainsFlying = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -192,8 +192,10 @@ public class PutTokenOntoBattlefieldCopyTargetEffect extends OneShotEffect {
|
||||||
if (gainsFlying) {
|
if (gainsFlying) {
|
||||||
token.addAbility(FlyingAbility.getInstance());
|
token.addAbility(FlyingAbility.getInstance());
|
||||||
}
|
}
|
||||||
if (tokenPower != 0 || tokenToughness != 0) {
|
if (tokenPower != Integer.MIN_VALUE) {
|
||||||
token.setPower(tokenPower);
|
token.setPower(tokenPower);
|
||||||
|
}
|
||||||
|
if (tokenToughness != Integer.MIN_VALUE){
|
||||||
token.setToughness(tokenToughness);
|
token.setToughness(tokenToughness);
|
||||||
}
|
}
|
||||||
if (additionalSubType != null && !token.getSubtype().contains(additionalSubType)) {
|
if (additionalSubType != null && !token.getSubtype().contains(additionalSubType)) {
|
||||||
|
|
Loading…
Reference in a new issue