Added card Okk. Incluedes a new restriction effect called "canBlockCheckAfter", an update to the combat sequence where this restriction is taken into considiration and a new test which assert the behaviour of the effect.

This commit is contained in:
icetc 2016-02-01 13:30:08 +01:00
parent 81af372bc1
commit cc7b7ec2a2
6 changed files with 307 additions and 3 deletions

View file

@ -77,10 +77,14 @@ public abstract class RestrictionEffect extends ContinuousEffectImpl {
return true;
}
public boolean canBeBlocked(Permanent attacker, Permanent blocker, Ability source, Game game) {
public boolean canBlockCheckAfter(Ability source, Game game) {
return true;
}
public boolean canBeBlocked(Permanent attacker, Permanent blocker, Ability source, Game game) {
return true;
}
/**
* Called for all attackers after all blocking decisions are made
*