mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- CNS: Added Grenzo, Dungeon Warden, Muzzio, Visionary Architect, and Treasonous Ogre
This commit is contained in:
@@ -107,10 +107,10 @@ public class AbilityUtils {
|
||||
}
|
||||
}
|
||||
|
||||
else if (defined.equals("TopOfLibrary")) {
|
||||
else if (defined.endsWith("OfLibrary")) {
|
||||
final List<Card> lib = hostCard.getController().getCardsIn(ZoneType.Library);
|
||||
if (lib.size() > 0) {
|
||||
c = lib.get(0);
|
||||
if (lib.size() > 0) { // TopOfLibrary or BottomOfLibrary
|
||||
c = lib.get(defined.startsWith("Top") ? 0 : lib.size() - 1);
|
||||
} else {
|
||||
// we don't want this to fall through and return the "Self"
|
||||
return cards;
|
||||
|
||||
Reference in New Issue
Block a user