- Fixed Liliana of the Veil.

- Fixed AI choosing logic of AF TwoPiles.
This commit is contained in:
Sloth
2012-12-03 08:39:09 +00:00
parent f9d3003d35
commit cbd59a3241
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ Loyalty:3
A:AB$ Discard | Cost$ AddCounter<1/LOYALTY> | NumCards$ 1 | Mode$ TgtChoose | Defined$ Each | Planeswalker$ True | SpellDescription$ Each player discards a card. A:AB$ Discard | Cost$ AddCounter<1/LOYALTY> | NumCards$ 1 | Mode$ TgtChoose | Defined$ Each | Planeswalker$ True | SpellDescription$ Each player discards a card.
A:AB$ Sacrifice | Cost$ SubCounter<2/LOYALTY> | ValidTgts$ Player | SacValid$ Creature | SacMessage$ Creature | Planeswalker$ True | SpellDescription$ Target player sacrifices a creature. A:AB$ Sacrifice | Cost$ SubCounter<2/LOYALTY> | ValidTgts$ Player | SacValid$ Creature | SacMessage$ Creature | Planeswalker$ True | SpellDescription$ Target player sacrifices a creature.
A:AB$ TwoPiles | Cost$ SubCounter<6/LOYALTY> | ValidTgts$ Player | TgtPrompt$ Select target player | Separator$ You | ChosenPile$ DBSacAll | ValidCards$ Permanent | Zone$ Battlefield | Planeswalker$ True | Ultimate$ True | SpellDescription$ Separate all permanents target player controls into two piles. That player sacrifices all permanents in the pile of his or her choice. A:AB$ TwoPiles | Cost$ SubCounter<6/LOYALTY> | ValidTgts$ Player | TgtPrompt$ Select target player | Separator$ You | ChosenPile$ DBSacAll | ValidCards$ Permanent | Zone$ Battlefield | Planeswalker$ True | Ultimate$ True | SpellDescription$ Separate all permanents target player controls into two piles. That player sacrifices all permanents in the pile of his or her choice.
SVar:DBSacAll:DB$ SacrificeAll | ValidCards$ Permanent | Defined$ Remembered | SubAbility$ Cleanup SVar:DBSacAll:DB$ SacrificeAll | ValidCards$ Permanent.IsRemembered | SubAbility$ Cleanup
SVar:Cleanup:DB$ Cleanup | ClearRemembered$ True SVar:Cleanup:DB$ Cleanup | ClearRemembered$ True
SVar:RemAIDeck:True SVar:RemAIDeck:True
SVar:Rarity:Mythic SVar:Rarity:Mythic

View File

@@ -233,7 +233,7 @@ public class TwoPilesEffect extends SpellEffect {
// for now, this assumes that the outcome will be bad // for now, this assumes that the outcome will be bad
// TODO: This should really have a ChooseLogic param to // TODO: This should really have a ChooseLogic param to
// figure this out // figure this out
pile1WasChosen = cmc1 >= cmc2; pile1WasChosen = cmc1 <= cmc2;
if (pile1WasChosen) { if (pile1WasChosen) {
JOptionPane.showMessageDialog(null, "Computer chooses the Pile 1", "", JOptionPane.showMessageDialog(null, "Computer chooses the Pile 1", "",
JOptionPane.INFORMATION_MESSAGE); JOptionPane.INFORMATION_MESSAGE);