mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38: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
|
// 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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user