Fix Errant Minion (#10354)

This commit is contained in:
xenohedron 2023-05-12 02:34:32 -04:00 committed by GitHub
parent c41c084496
commit 36c54c1098
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,11 +89,11 @@ class ErrantMinionEffect extends OneShotEffect {
PreventDamageToTargetEffect effect = new PreventDamageToTargetEffect(Duration.OneUse, manaPaid); PreventDamageToTargetEffect effect = new PreventDamageToTargetEffect(Duration.OneUse, manaPaid);
effect.setTargetPointer(new FixedTarget(controllerOfEnchantedCreature.getId())); effect.setTargetPointer(new FixedTarget(controllerOfEnchantedCreature.getId()));
game.addEffect(effect, source); game.addEffect(effect, source);
DamageTargetEffect effect2 = new DamageTargetEffect(2);
effect2.setTargetPointer(new FixedTarget(controllerOfEnchantedCreature.getId()));
effect2.apply(game, source);
return true;
} }
DamageTargetEffect effect2 = new DamageTargetEffect(2);
effect2.setTargetPointer(new FixedTarget(controllerOfEnchantedCreature.getId()));
effect2.apply(game, source);
return true;
} }
return false; return false;
} }