mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
* removing double negative checks.
This commit is contained in:
parent
f84040f4c0
commit
8ccb5d18ec
2 changed files with 3 additions and 4 deletions
|
@ -28,7 +28,6 @@
|
|||
package mage.sets.eighthedition;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
|
@ -95,7 +94,7 @@ class MurderousBetrayalCost extends CostImpl {
|
|||
@Override
|
||||
public boolean canPay(Ability ability, UUID sourceId, UUID controllerId, Game game) {
|
||||
Player controller = game.getPlayer(controllerId);
|
||||
return controller != null && !(controller.getLife() > 0 && !controller.canPayLifeCost());
|
||||
return controller != null && (controller.getLife() < 1 || controller.canPayLifeCost());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -84,7 +84,7 @@ class LurkingEvilCost extends CostImpl {
|
|||
@Override
|
||||
public boolean canPay(Ability ability, UUID sourceId, UUID controllerId, Game game) {
|
||||
Player controller = game.getPlayer(controllerId);
|
||||
return controller != null && !(controller.getLife() > 0 && !controller.canPayLifeCost());
|
||||
return controller != null && (controller.getLife() < 1 || controller.canPayLifeCost());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue