forked from External/mage
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:
parent
81af372bc1
commit
cc7b7ec2a2
6 changed files with 307 additions and 3 deletions
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue