mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
SacrificeEffect target required fix
This commit is contained in:
parent
c4cbc2a34e
commit
cb63b900cd
2 changed files with 24 additions and 0 deletions
|
|
@ -86,6 +86,7 @@ public class SacrificeEffect extends OneShotEffect<SacrificeEffect>{
|
|||
amount = Math.min(amount, realCount);
|
||||
|
||||
Target target = new TargetControlledPermanent(amount, amount, filter, false);
|
||||
target.setRequired(true);
|
||||
|
||||
//A spell or ability could have removed the only legal target this player
|
||||
//had, if thats the case this ability should fizzle.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue