mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +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);
|
final List<Card> lib = hostCard.getController().getCardsIn(ZoneType.Library);
|
||||||
if (lib.size() > 0) {
|
if (lib.size() > 0) { // TopOfLibrary or BottomOfLibrary
|
||||||
c = lib.get(0);
|
c = lib.get(defined.startsWith("Top") ? 0 : lib.size() - 1);
|
||||||
} else {
|
} else {
|
||||||
// we don't want this to fall through and return the "Self"
|
// we don't want this to fall through and return the "Self"
|
||||||
return cards;
|
return cards;
|
||||||
|
|||||||
Reference in New Issue
Block a user