Fixed targeting Solemn Offering.
parent
18094ea622
commit
58998e3d85
|
@ -37,6 +37,7 @@ Release 1.9 (March, 2011)
|
|||
- added extra settings to themes
|
||||
- added support for infect keyword and poison counters
|
||||
|
||||
- fixed Solemn Offering, it can now target your own permanents with filter legal targets enabled
|
||||
- fixed handing of invalid avatars
|
||||
|
||||
Release 1.8 (March 13, 2011)
|
||||
|
|
|
@ -2605,7 +2605,7 @@ public class CardEventDefinitions {
|
|||
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
||||
|
||||
final MagicPlayer player=cardOnStack.getController();
|
||||
return new MagicEvent(cardOnStack.getCard(),player,MagicTargetChoice.NEG_TARGET_ARTIFACT_OR_ENCHANTMENT,new MagicDestroyTargetPicker(false),
|
||||
return new MagicEvent(cardOnStack.getCard(),player,MagicTargetChoice.TARGET_ARTIFACT_OR_ENCHANTMENT,new MagicDestroyTargetPicker(false),
|
||||
new Object[]{cardOnStack,player},this,"Destroy target artifact or enchantment$. You gain 4 life.");
|
||||
}
|
||||
|
||||
|
|
|
@ -51,6 +51,8 @@ public class MagicTargetChoice extends MagicChoice {
|
|||
new MagicTargetChoice(MagicTargetFilter.TARGET_NONLAND_PERMANENT,true,MagicTargetHint.Negative,"target nonland permanent");
|
||||
public static final MagicTargetChoice NEG_TARGET_ARTIFACT=
|
||||
new MagicTargetChoice(MagicTargetFilter.TARGET_ARTIFACT,true,MagicTargetHint.Negative,"target artifact");
|
||||
public static final MagicTargetChoice TARGET_ARTIFACT_OR_ENCHANTMENT=
|
||||
new MagicTargetChoice(MagicTargetFilter.TARGET_ARTIFACT_OR_ENCHANTMENT,true,MagicTargetHint.None,"target artifact or enchantment");
|
||||
public static final MagicTargetChoice NEG_TARGET_ARTIFACT_OR_ENCHANTMENT=
|
||||
new MagicTargetChoice(MagicTargetFilter.TARGET_ARTIFACT_OR_ENCHANTMENT,true,MagicTargetHint.Negative,"target artifact or enchantment");
|
||||
public static final MagicTargetChoice TARGET_ARTIFACT_OR_ENCHANTMENT_YOUR_OPPONENT_CONTROLS=
|
||||
|
|
|
@ -122,10 +122,13 @@ public class TestGameBuilder {
|
|||
addToHand(player,"Blightwidow",1);
|
||||
addToHand(player,"Contagious Nim",1);
|
||||
addToHand(player,"Cystbearer",1);
|
||||
addToHand(player,"Solemn Offering",1);
|
||||
|
||||
createPermanent(game,player,"Watchwolf",false,1);
|
||||
createPermanent(game,player,"Bonesplitter",false,1);
|
||||
createPermanent(game,player,"Rupture Spire",false,6);
|
||||
createPermanent(game,opponent,"Bloodrock Cyclops",false,1);
|
||||
createPermanent(game,opponent,"Glorious Anthem",false,1);
|
||||
|
||||
return game;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue