mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Reverting the StaticAbility change for now (PlayerTurn can be used as a type of Defined parameter to define whose turn it should be when the static ability is applied again).
This commit is contained in:
@@ -520,7 +520,7 @@ public class StaticAbility extends CardTraitBase implements Comparable<StaticAbi
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.mapParams.containsKey("PlayerTurn")) {
|
if (this.mapParams.containsKey("PlayerTurn")) {
|
||||||
List<Player> players = AbilityUtils.getDefinedPlayers(hostCard, this.mapParams.get("Defined"), null);
|
List<Player> players = AbilityUtils.getDefinedPlayers(hostCard, this.mapParams.get("PlayerTurn"), null);
|
||||||
if (!players.contains(game.getPhaseHandler().getPlayerTurn())) {
|
if (!players.contains(game.getPhaseHandler().getPlayerTurn())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user