mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 01:38:13 +00:00
AbilityUtils.calculateAmount "PlayerCountDefined" support
This commit is contained in:
@@ -535,6 +535,9 @@ public class AbilityUtils {
|
||||
}
|
||||
}
|
||||
val = playerXCount(players, calcX[1], card, ability);
|
||||
} else if (hType.startsWith("Defined")) {
|
||||
String defined = hType.split("Defined")[1];
|
||||
val = playerXCount(getDefinedPlayers(card, defined, ability), calcX[1], card, ability);
|
||||
} else {
|
||||
val = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user