Merge fix

This commit is contained in:
Oleg Agafonov 2019-01-05 02:14:35 +04:00
parent 4b15f44fe0
commit 4f5a880455

View file

@ -1,27 +1,26 @@
package mage.cards.b;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.DelayedTriggeredAbility;
import mage.abilities.common.DiesTriggeredAbility;
import mage.abilities.common.PutIntoGraveFromBattlefieldSourceTriggeredAbility;
import mage.abilities.common.delayed.AtTheBeginOfNextEndStepDelayedTriggeredAbility;
import mage.abilities.effects.Effect;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.effects.common.LoseLifeSourceControllerEffect;
import mage.abilities.effects.common.ReturnToHandTargetEffect;
import mage.constants.SubType;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.game.Game;
import mage.target.targetpointer.FixedTarget;
import java.util.UUID;
import static mage.constants.Outcome.Benefit;
/**
*
* @author mpouedras
*/
public final class BroodOfCockroaches extends CardImpl {
@ -37,7 +36,7 @@ public final class BroodOfCockroaches extends CardImpl {
// at the beginning of the next end step,
// you lose 1 life
// and return Brood of Cockroaches to your hand.
this.addAbility(new DiesTriggeredAbility(new BroodOfCockroachesEffect()));
this.addAbility(new PutIntoGraveFromBattlefieldSourceTriggeredAbility(new BroodOfCockroachesEffect(), false, true));
}
public BroodOfCockroaches(final BroodOfCockroaches card) {