mirror of
https://github.com/correl/mage.git
synced 2024-12-27 20:06:31 +00:00
Fix Errant Minion (#10354)
This commit is contained in:
parent
c41c084496
commit
36c54c1098
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue