forked from External/mage
small change to amass effect
This commit is contained in:
parent
a62b051045
commit
62a92d6d1c
1 changed files with 4 additions and 2 deletions
|
|
@ -85,8 +85,10 @@ public class AmassEffect extends OneShotEffect {
|
|||
if (permanent == null) {
|
||||
return null;
|
||||
}
|
||||
game.addEffect(new AddCardSubTypeTargetEffect(subType, Duration.Custom)
|
||||
.setTargetPointer(new FixedTarget(permanent, game)), source);
|
||||
if (!permanent.hasSubtype(subType, game)) {
|
||||
game.addEffect(new AddCardSubTypeTargetEffect(subType, Duration.Custom)
|
||||
.setTargetPointer(new FixedTarget(permanent, game)), source);
|
||||
}
|
||||
if (xValue > 0) {
|
||||
permanent.addCounters(
|
||||
CounterType.P1P1.createInstance(xValue),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue