Added the Loxodon Punisher test to the CardList getCreature() code for Sword of the Meek and Umezawa's Jitte.

This commit is contained in:
jendave
2011-08-06 03:53:25 +00:00
parent 25d35b199a
commit 3b292208dd

View File

@@ -66,6 +66,14 @@ class CardFactory_Equipment {
} }
}); });
// list.remove(card); // if mana-only cost, allow self-target // list.remove(card); // if mana-only cost, allow self-target
// is there at least 1 Loxodon Punisher to target
CardList equipMagnetList = list.getName("Loxodon Punisher");
if (equipMagnetList.size() != 0) {
return equipMagnetList;
}
return list; return list;
}//getCreature() }//getCreature()
@@ -275,6 +283,14 @@ class CardFactory_Equipment {
} }
}); });
// list.remove(card); // if mana-only cost, allow self-target // list.remove(card); // if mana-only cost, allow self-target
// is there at least 1 Loxodon Punisher to target
CardList equipMagnetList = list.getName("Loxodon Punisher");
if (equipMagnetList.size() != 0) {
return equipMagnetList;
}
return list; return list;
}//getCreature() }//getCreature()