mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Fixes to Obzedat, Ghost Council and Bala-Ged Thief
This commit is contained in:
parent
a724c2e712
commit
93a0682eca
3 changed files with 6 additions and 4 deletions
|
@ -60,6 +60,8 @@ public class InameLifeAspect extends CardImpl<InameLifeAspect> {
|
|||
this.color.setGreen(true);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// When Iname, Life Aspect dies, you may exile it. If you do, return any number of target Spirit cards from your graveyard to your hand.
|
||||
Ability ability = new DiesTriggeredAbility(new ExileSourceEffect(), true);
|
||||
ability.addEffect(new ReturnToHandTargetEffect());
|
||||
ability.addTarget(new TargetCardInYourGraveyard(0, Integer.MAX_VALUE, filter));
|
||||
|
|
|
@ -72,7 +72,7 @@ public class ObzedatGhostCouncil extends CardImpl<ObzedatGhostCouncil> {
|
|||
//When Obzedat, Ghost Council enters the battlefield, target opponent loses 2 life and you gain 2 life.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new LoseLifeTargetEffect(2));
|
||||
ability.addEffect(new GainLifeEffect(2));
|
||||
ability.addTarget(new TargetOpponent());
|
||||
ability.addTarget(new TargetOpponent(true));
|
||||
this.addAbility(ability);
|
||||
//At the beginning of your end step you may exile Obzedat. If you do, return it to the battlefield under it's owner's control at the beginning of your next upkeep. It gains haste.
|
||||
Ability ability2 = new BeginningOfYourEndStepTriggeredAbility(new ExileSourceEffect(), true);
|
||||
|
@ -93,7 +93,7 @@ public class ObzedatGhostCouncil extends CardImpl<ObzedatGhostCouncil> {
|
|||
class BeginningOfYourUpkeepdelayTriggeredAbility extends DelayedTriggeredAbility<BeginningOfYourUpkeepdelayTriggeredAbility> {
|
||||
|
||||
public BeginningOfYourUpkeepdelayTriggeredAbility() {
|
||||
this(new ReturnToBattlefieldUnderYourControlSourceEffect(), Constants.TargetController.ANY);
|
||||
this(new ReturnToBattlefieldUnderYourControlSourceEffect(), Constants.TargetController.YOU);
|
||||
this.addEffect(new GainAbilitySourceEffect(HasteAbility.getInstance(), Constants.Duration.EndOfTurn));
|
||||
}
|
||||
|
||||
|
@ -120,6 +120,6 @@ class BeginningOfYourUpkeepdelayTriggeredAbility extends DelayedTriggeredAbility
|
|||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return "If you do, return it to the battlefield under it's owner's control at the beginning of your next upkeep. It gains haste.";
|
||||
return "If you do, return it to the battlefield under it's owner's control at the beginning of your next upkeep. It gains haste";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -147,7 +147,7 @@ class BalaGedThiefEffect extends OneShotEffect<BalaGedThiefEffect> {
|
|||
if (!revealedCards.isEmpty()) {
|
||||
targetPlayer.revealCards("Bala Ged Thief", revealedCards, game);
|
||||
you.choose(Constants.Outcome.Neutral, revealedCards, targetInHand, game);
|
||||
Card card = revealedCards.get(target.getFirstTarget(), game);
|
||||
Card card = revealedCards.get(targetInHand.getFirstTarget(), game);
|
||||
if (card != null) {
|
||||
targetPlayer.discard(card, source, game);
|
||||
game.informPlayers(targetPlayer + "discarded " + card.getName());
|
||||
|
|
Loading…
Reference in a new issue