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:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user