- non-card refactoring related to #8375

This commit is contained in:
Jeff Wadsworth 2021-10-18 14:02:57 -05:00
parent bcac7bd47c
commit 328b1f1eec
31 changed files with 32 additions and 34 deletions

View file

@ -88,7 +88,7 @@ public class EvolveAbility extends TriggeredAbilityImpl {
&& triggeringCreature.isControlledBy(this.controllerId)) {
Permanent sourceCreature = game.getPermanent(sourceId);
if (sourceCreature != null && isPowerOrThoughnessGreater(sourceCreature, triggeringCreature)) {
this.getEffects().get(0).setTargetPointer(new FixedTarget(event.getTargetId()));
this.getEffects().get(0).setTargetPointer(new FixedTarget(event.getTargetId(), game));
return true;
}
}