mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
* Afterlife - Fixed that the target controller got also the token, if target was e.g. indestructible.
This commit is contained in:
parent
2eebdb3b5b
commit
3a8f630582
1 changed files with 4 additions and 4 deletions
|
@ -89,10 +89,10 @@ class AfterlifeEffect extends OneShotEffect<AfterlifeEffect> {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Permanent permanent = (Permanent) game.getLastKnownInformation(targetPointer.getFirst(game, source), Zone.BATTLEFIELD);
|
||||
Permanent permanent = game.getPermanentOrLKIBattlefield(this.getTargetPointer().getFirst(game, source));
|
||||
if (permanent != null) {
|
||||
SpiritWhiteToken token = new SpiritWhiteToken();
|
||||
token.putOntoBattlefield(1, game, source.getId(), permanent.getControllerId());
|
||||
token.putOntoBattlefield(1, game, source.getSourceId(), permanent.getControllerId());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue