forked from External/mage
Added Personal Incarnation
Personal Incarnation implemented. TargetController and ActivatedAbilityImpl added OWNER as required by Personal Incarnation
This commit is contained in:
parent
390e36629d
commit
4f744b4e53
10 changed files with 2497 additions and 2346 deletions
|
|
@ -174,6 +174,12 @@ public abstract class ActivatedAbilityImpl extends AbilityImpl implements Activa
|
|||
return false;
|
||||
}
|
||||
break;
|
||||
case OWNER:
|
||||
Permanent permanent = game.getPermanent(getSourceId());
|
||||
if (!permanent.getOwnerId().equals(playerId)) {
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
case YOU:
|
||||
if (!controlsAbility(playerId, game)) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue