Added Personal Incarnation

Personal Incarnation implemented. 
TargetController and ActivatedAbilityImpl added OWNER as required by Personal Incarnation
This commit is contained in:
MTGfan 2016-11-29 20:15:02 -05:00 committed by Samuel Sandeen
parent 390e36629d
commit 4f744b4e53
10 changed files with 2497 additions and 2346 deletions

View file

@ -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;