* Some target pointer changes and code clean up.

This commit is contained in:
LevelX2 2020-07-26 00:16:14 +02:00
parent 142681c354
commit 7a78be8c6a
207 changed files with 531 additions and 358 deletions

View file

@ -1,4 +1,3 @@
package mage.abilities.common;
import java.util.ArrayList;
@ -78,7 +77,7 @@ class LicidEffect extends OneShotEffect {
if (licid != null) {
UUID messageId = UUID.randomUUID();
LicidContinuousEffect effect = new LicidContinuousEffect(messageId);
effect.setTargetPointer(new FixedTarget(licid.getId()));
effect.setTargetPointer(new FixedTarget(licid, game));
game.addEffect(effect, source);
new AttachEffect(Outcome.Neutral).apply(game, source);
SpecialAction specialAction = new LicidSpecialAction(this.specialActionCost, messageId, licid.getIdName());