mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
AbilityUtils > xCount add "Initiative"
This commit is contained in:
@@ -2259,6 +2259,9 @@ public class AbilityUtils {
|
||||
if (sq[0].equals("Monarch")) {
|
||||
return doXMath(calculateAmount(c, sq[player.isMonarch() ? 1 : 2], ctb), expr, c, ctb);
|
||||
}
|
||||
if (sq[0].equals("Initiative")) {
|
||||
return doXMath(calculateAmount(c, sq[player.hasInitiative() ? 1: 2], ctb), expr, c, ctb);
|
||||
}
|
||||
if (sq[0].equals("StartingPlayer")) {
|
||||
return doXMath(calculateAmount(c, sq[player.isStartingPlayer() ? 1: 2], ctb), expr, c, ctb);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user