[SOI] Fixed to Skulk and Investigate. Some minor tweaks to SOI cards.

This commit is contained in:
LevelX2 2016-02-09 12:37:20 +01:00
parent 2a92f5e77a
commit 60bc03e284
10 changed files with 44 additions and 88 deletions

View file

@ -52,13 +52,12 @@ class SkulkEffect extends RestrictionEffect {
@Override
public boolean applies(Permanent permanent, Ability source, Game game) {
return !permanent.getControllerId().equals(source.getControllerId());
return permanent.getId().equals(source.getSourceId());
}
@Override
public boolean canBeBlocked(Permanent attacker, Permanent blocker, Ability source, Game game) {
return blocker.getId().equals(source.getSourceId())
&& blocker.getPower().getValue() >= attacker.getPower().getValue();
return blocker.getPower().getValue() <= attacker.getPower().getValue();
}
@Override