mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 19:59:54 -08:00
* Laboratory Maniac - Removed wrong checks that prevented the player to win if his life was below 1 and he drew from an empty libraray.
This commit is contained in:
parent
5a428f10ab
commit
bf598d1af2
3 changed files with 53 additions and 5 deletions
|
|
@ -113,10 +113,7 @@ class LaboratoryManiacEffect extends ReplacementEffectImpl {
|
|||
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||
if (event.getPlayerId().equals(source.getControllerId())) {
|
||||
Player player = game.getPlayer(event.getPlayerId());
|
||||
if (!player.hasLost() && (
|
||||
(player.getLife() > 0 || !player.canLoseByZeroOrLessLife())
|
||||
&& player.isEmptyDraw()
|
||||
&& player.getCounters().getCount(CounterType.POISON) < 10)) {
|
||||
if (player != null && !player.hasLost() && player.isEmptyDraw()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ public class AngelsGrace extends CardImpl {
|
|||
this.expansionSetCode = "TSP";
|
||||
|
||||
|
||||
// Split second
|
||||
// Split second (As long as this spell is on the stack, players can't cast spells or activate abilities that aren't mana abilities.)
|
||||
this.addAbility(new SplitSecondAbility());
|
||||
|
||||
// You can't lose the game this turn and your opponents can't win the game this turn. Until end of turn, damage that would reduce your life total to less than 1 reduces it to 1 instead.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue