- 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

@@ -274,7 +274,7 @@ public class AbilityFactory_Pump {
}
}); // leaves all creatures that will be destroyed
} // -X/-X end
else if (!list.isEmpty()) {
else if (!list.isEmpty()) {
String KWpump[] = {"none"};
if (!Keywords.get(0).equals("none"))
KWpump = Keywords.toArray(new String[Keywords.size()]);
@@ -409,7 +409,8 @@ public class AbilityFactory_Pump {
* @return a boolean.
*/
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;
Target tgt = AF.getAbTgt();