[MKC] Implement Printlifter Ooze (#11865)

This commit is contained in:
PurpleCrowbar 2024-02-27 22:29:36 +00:00 committed by GitHub
parent 90aa4f84b8
commit 3486c57364
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 111 additions and 4 deletions

View file

@ -274,9 +274,8 @@ public class CreateTokenCopyTargetEffect extends OneShotEffect {
Permanent tokenPermanent = game.getPermanent(tokenId);
if (tokenPermanent != null) {
addedTokenPermanents.add(tokenPermanent);
// add counters if necessary ie Ochre Jelly
if (counter != null
&& numberOfCounters > 0) {
// TODO: Workaround to add counters to all created tokens, necessary for correct interactions with cards like Chatterfang, Squirrel General and Ochre Jelly / Printlifter Ooze. See #10786
if (counter != null && numberOfCounters > 0) {
tokenPermanent.addCounters(counter.createInstance(numberOfCounters), source.getControllerId(), source, game);
}
}