forked from External/mage
fix Devastating Onslaught number of token copies
This commit is contained in:
parent
6718c744e5
commit
4bcb17a40e
1 changed files with 1 additions and 2 deletions
|
|
@ -62,8 +62,7 @@ class DevastatingOnslaughtEffect extends OneShotEffect {
|
||||||
if (permanent == null || xValue < 1) {
|
if (permanent == null || xValue < 1) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
CreateTokenCopyTargetEffect effect = new CreateTokenCopyTargetEffect();
|
CreateTokenCopyTargetEffect effect = new CreateTokenCopyTargetEffect(null, null, true, xValue);
|
||||||
effect.setHasHaste(true);
|
|
||||||
effect.setSavedPermanent(permanent);
|
effect.setSavedPermanent(permanent);
|
||||||
effect.apply(game, source);
|
effect.apply(game, source);
|
||||||
effect.sacrificeTokensCreatedAtNextEndStep(game, source);
|
effect.sacrificeTokensCreatedAtNextEndStep(game, source);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue