forked from External/mage
Lich Lord of Unx, fix sword
This commit is contained in:
parent
b2ba439a48
commit
0aae5d6559
6 changed files with 139 additions and 19 deletions
|
|
@ -64,7 +64,7 @@ public class DiscardTargetEffect extends OneShotEffect<DiscardTargetEffect> {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Player player = game.getPlayer(source.getFirstTarget());
|
||||
Player player = game.getPlayer(targetPointer.getFirst(source));
|
||||
if (player != null) {
|
||||
player.discard(amount.calculate(game, source), source, game);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue