Altered Orc Assassin to no longer prompt the player with its ability after it has been used to assign itself

This commit is contained in:
Christian 'ketura' McCarty
2022-08-19 19:29:45 -05:00
parent c50b9d60c5
commit e834d6a8ec
2 changed files with 13 additions and 7 deletions

View File

@@ -677,11 +677,17 @@
{
type: activated
phase: assignment
requires: {
type: canSpot
filter: hobbit,companion
count: 2
}
requires: [
{
type: canSpot
filter: hobbit,companion
count: 2
}
{
type: cantspot
filter: AssignedToSkirmish(self)
}
]
effect: {
type: assignFpCharacterToSkirmish
player: fp

View File

@@ -499,9 +499,9 @@ public class AssignmentAtTest extends AbstractAtTest {
assignmentActions = _userFeedback.getAwaitingDecision(P2);
assertEquals(AwaitingDecisionType.CARD_ACTION_CHOICE, assignmentActions.getDecisionType());
validateContents(toCardIdArray(orcAssassin1, orcAssassin2), (String[]) assignmentActions.getDecisionParameters().get("cardId"));
validateContents(toCardIdArray(orcAssassin2), (String[]) assignmentActions.getDecisionParameters().get("cardId"));
playerDecided(P2, "1");
playerDecided(P2, "0");
assertEquals(2, _game.getGameState().getAssignments().size());
final Assignment secondAssignment = _game.getGameState().getAssignments().get(1);