forked from External/mage
[C21] Implemented Combat Calligrapher
This commit is contained in:
parent
1fad23b9fb
commit
0c3b294527
7 changed files with 193 additions and 41 deletions
|
|
@ -10,6 +10,8 @@ import mage.game.Game;
|
|||
import mage.game.permanent.token.Token;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author Loki
|
||||
*/
|
||||
|
|
@ -57,7 +59,7 @@ public class CreateTokenTargetEffect extends OneShotEffect {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
int value = amount.calculate(game, source, this);
|
||||
if (value > 0) {
|
||||
return token.putOntoBattlefield(value, game, source, targetPointer.getFirst(game, source), tapped, attacking);
|
||||
return token.putOntoBattlefield(value, game, source, targetPointer.getFirst(game, source), tapped, attacking, (UUID) getValue("playerToAttack"));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue