mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 09:48:02 +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);
|
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 {
|
} else {
|
||||||
val = 0;
|
val = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user