mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
GameAction: add canBeSacrificed check, no need to do the other checks later
This commit is contained in:
@@ -1089,6 +1089,9 @@ public class GameAction {
|
||||
if (!c.getType().hasSubtype("Saga")) {
|
||||
return false;
|
||||
}
|
||||
if (!c.canBeSacrificed()) {
|
||||
return false;
|
||||
}
|
||||
if (c.getCounters(CounterType.LORE) < c.getFinalChapterNr()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user