mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Added the Loxodon Punisher test to the CardList getCreature() code for Sword of the Meek and Umezawa's Jitte.
This commit is contained in:
@@ -66,6 +66,14 @@ class CardFactory_Equipment {
|
||||
}
|
||||
});
|
||||
// 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;
|
||||
}//getCreature()
|
||||
|
||||
@@ -275,6 +283,14 @@ class CardFactory_Equipment {
|
||||
}
|
||||
});
|
||||
// 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;
|
||||
}//getCreature()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user