- Switched order of abilities of Maze of Ith (for AI).

This commit is contained in:
Sloth
2011-09-01 10:16:50 +00:00
parent da309d93d9
commit 5222b5e45e
2 changed files with 5 additions and 4 deletions

View File

@@ -2,8 +2,8 @@ Name:Maze of Ith
ManaCost:no cost ManaCost:no cost
Types:Land Types:Land
Text:no text Text:no text
A:AB$ Untap | Cost$ T | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | SubAbility$ SVar=DBPump | IsCurse$ True | SpellDescription$ Untap target attacking creature. Prevent all combat damage that would be dealt to and dealt by that creature this turn. A:AB$ Pump | Cost$ T | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | KW$ HIDDEN Prevent all combat damage that would be dealt to and dealt by CARDNAME. | SubAbility$ SVar=DBUntap | IsCurse$ True | SpellDescription$ Untap target attacking creature. Prevent all combat damage that would be dealt to and dealt by that creature this turn.
SVar:DBPump:DB$Pump | Cost$ 0 | Defined$ Targeted | KW$ HIDDEN Prevent all combat damage that would be dealt to and dealt by CARDNAME. SVar:DBUntap:DB$Untap | Defined$ Targeted
SVar:Rarity:Uncommon SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/maze_of_ith.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/maze_of_ith.jpg
SetInfo:DRK|Uncommon|http://magiccards.info/scans/en/dk/114.jpg SetInfo:DRK|Uncommon|http://magiccards.info/scans/en/dk/114.jpg

View File

@@ -409,7 +409,8 @@ public class AbilityFactory_Pump {
* @return a boolean. * @return a boolean.
*/ */
private boolean pumpTgtAI(SpellAbility sa, int defense, int attack, boolean mandatory) { private boolean pumpTgtAI(SpellAbility sa, int defense, int attack, boolean mandatory) {
if (!mandatory && AllZone.getPhase().isAfter(Constant.Phase.Combat_Declare_Blockers_InstantAbility) && !(AF.isCurse() && defense < 0)) if (!mandatory && AllZone.getPhase().isAfter(Constant.Phase.Combat_Declare_Blockers_InstantAbility)
&& !(AF.isCurse() && defense < 0))
return false; return false;
Target tgt = AF.getAbTgt(); Target tgt = AF.getAbTgt();