mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Switched order of abilities of Maze of Ith (for AI).
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -274,7 +274,7 @@ public class AbilityFactory_Pump {
|
|||||||
}
|
}
|
||||||
}); // leaves all creatures that will be destroyed
|
}); // leaves all creatures that will be destroyed
|
||||||
} // -X/-X end
|
} // -X/-X end
|
||||||
else if (!list.isEmpty()) {
|
else if (!list.isEmpty()) {
|
||||||
String KWpump[] = {"none"};
|
String KWpump[] = {"none"};
|
||||||
if (!Keywords.get(0).equals("none"))
|
if (!Keywords.get(0).equals("none"))
|
||||||
KWpump = Keywords.toArray(new String[Keywords.size()]);
|
KWpump = Keywords.toArray(new String[Keywords.size()]);
|
||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user