mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 20:29:19 -08:00
fix and test [FIN] Zack Fair
This commit is contained in:
parent
baa52bc617
commit
8495d6a74e
3 changed files with 151 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ public class PutSourceCountersOnTargetEffect extends OneShotEffect {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Permanent sourcePermanent = (Permanent) getValue("permanentLeftBattlefield");
|
||||
Permanent sourcePermanent = source.getSourcePermanentOrLKI(game);
|
||||
Permanent permanent = game.getPermanent(getTargetPointer().getFirst(game, source));
|
||||
if (sourcePermanent == null || permanent == null) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue