Merge pull request #118 from MarcinSc/master
Fixed issue with cards creating assignments during fierce skirmish
This commit is contained in:
@@ -366,7 +366,7 @@ public class Filters {
|
||||
new Filter() {
|
||||
@Override
|
||||
public boolean accepts(LotroGame game, PhysicalCard physicalCard) {
|
||||
return (!game.getGameState().isFierceSkirmishes()) || game.getModifiersQuerying().hasKeyword(game, physicalCard, Keyword.FIERCE);
|
||||
return (game.getGameState().getCurrentPhase() != Phase.ASSIGNMENT || !game.getGameState().isFierceSkirmishes()) || game.getModifiersQuerying().hasKeyword(game, physicalCard, Keyword.FIERCE);
|
||||
}
|
||||
}));
|
||||
|
||||
|
||||
@@ -106,9 +106,8 @@ public class Card_01_224_Tests
|
||||
|
||||
//Can't quite get the rest
|
||||
|
||||
//assertEquals(2, scn.GetShadowCardChoiceCount()); // both enquea and TWK
|
||||
//scn.ShadowChooseCard(enquea);
|
||||
//We should now be asking freeps to choose the next skirmish to resolve and in a skirmish phase
|
||||
assertEquals(2, scn.GetShadowCardChoiceCount()); // both enquea and TWK
|
||||
scn.ShadowChooseCard(enquea);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user