fix Devastating Onslaught number of token copies

This commit is contained in:
xenohedron 2025-10-26 18:48:41 -04:00
parent 6718c744e5
commit 4bcb17a40e

View file

@ -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);