mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Fixed Champion of Lambholt
This commit is contained in:
parent
852b5a8eb8
commit
8bd7131dca
1 changed files with 2 additions and 3 deletions
|
@ -99,9 +99,8 @@ class ChampionOfLambholtEffect extends RestrictionEffect<ChampionOfLambholtEffec
|
|||
public boolean canBlock(Permanent attacker, Permanent blocker, Ability source, Game game) {
|
||||
if (attacker != null && blocker != null) {
|
||||
Permanent sourcePermanent = game.getPermanent(source.getSourceId());
|
||||
if (sourcePermanent != null) {
|
||||
return attacker.getControllerId().equals(sourcePermanent.getControllerId())
|
||||
&& blocker.getPower().getValue() >= attacker.getPower().getValue();
|
||||
if (sourcePermanent != null && attacker.getControllerId().equals(sourcePermanent.getControllerId())) {
|
||||
return blocker.getPower().getValue() >= sourcePermanent.getPower().getValue();
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue