Implemented Grenzo, Havoc Raiser

This commit is contained in:
Evan Kranzler 2017-08-20 13:50:15 -04:00
parent 2861e5f86f
commit ebc9b728dd
4 changed files with 277 additions and 39 deletions

View file

@ -64,36 +64,4 @@ public class GoadTargetEffect extends OneShotEffect {
game.addEffect(effect, source);
return true;
}
}
/*class CantAttackYouEffect extends RestrictionEffect {
public CantAttackYouEffect() {
super(Duration.UntilYourNextTurn);
}
public CantAttackYouEffect(final CantAttackYouEffect effect) {
super(effect);
}
@Override
public CantAttackYouEffect copy() {
return new CantAttackYouEffect(this);
}
@Override
public boolean applies(Permanent permanent, Ability source, Game game) {
return this.getTargetPointer().getTargets(game, source).contains(permanent.getId());
}
@Override
public boolean canAttack(Permanent attacker, UUID defenderId, Ability source, Game game) {
for (UUID player : game.getOpponents(source.getId())) {
if (attacker.canAttack(player, game)) {
return false;
}
}
return true;
}
}
*/
}