forked from External/mage
Fixed minor problem of Volrath's Laboratory. Added combat flag to LIFE_LOST event.
This commit is contained in:
parent
9676f24752
commit
9cf9d69c55
134 changed files with 163 additions and 146 deletions
|
|
@ -76,7 +76,7 @@ public class PayLifeCost extends CostImpl {
|
|||
@Override
|
||||
public boolean pay(Ability ability, Game game, UUID sourceId, UUID controllerId, boolean noMana, Cost costToPay) {
|
||||
int lifeToPayAmount = amount.calculate(game, ability, null);
|
||||
this.paid = game.getPlayer(controllerId).loseLife(lifeToPayAmount, game) == lifeToPayAmount;
|
||||
this.paid = game.getPlayer(controllerId).loseLife(lifeToPayAmount, game, false) == lifeToPayAmount;
|
||||
return paid;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue