* Some rework/clean up of the PlayFromNotOwnHandZone effects (fixes #6580). Some added tests.

This commit is contained in:
LevelX2 2020-06-18 01:19:23 +02:00
parent 8e4d966ff3
commit 85709c0a16
29 changed files with 465 additions and 797 deletions

View file

@ -27,6 +27,12 @@ public class FixedTarget implements TargetPointer {
this(mor.getSourceId(), mor.getZoneChangeCounter());
}
/**
* Target counter is immediatly initialised with current zoneChangeCounter value from the GameState
* Sets fixed the currect zone chnage counter
* @param card used to get the objectId
* @param game
*/
public FixedTarget(Card card, Game game) {
this.targetId = card.getId();
this.zoneChangeCounter = card.getZoneChangeCounter(game);