mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- A somewhat simpler implementation of untransform condition
This commit is contained in:
@@ -361,8 +361,7 @@ public abstract class CardTraitBase extends GameObject implements IHasCardView {
|
||||
List<Card> casted = game.getStack().getSpellsCastLastTurn();
|
||||
boolean conditionMet = false;
|
||||
for (Player p : game.getPlayers()) {
|
||||
if (CardLists.filterControlledBy(casted, p).size() > 1)
|
||||
conditionMet = true;
|
||||
conditionMet |= CardLists.filterControlledBy(casted, p).size() > 1;
|
||||
}
|
||||
if (!conditionMet) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user