Fixing Foul Creation.

This commit is contained in:
marcins78@gmail.com
2011-09-11 17:19:33 +00:00
parent becfdd4e56
commit f34a1826b9
3 changed files with 7 additions and 4 deletions

View File

@@ -52,9 +52,11 @@ public class Card1_044 extends AbstractEvent {
new RevealAndChooseCardsFromOpponentHandEffect(playerId, opponentId, Filters.and(Filters.culture(Culture.ISENGARD), Filters.type(CardType.MINION)), 1, 1) {
@Override
protected void cardsSelected(List<PhysicalCard> selectedCards) {
action.addEffect(new DiscardCardFromHandEffect(selectedCards.get(0)));
action.addEffect(new DrawCardEffect(playerId));
action.addEffect(new DrawCardEffect(playerId));
if (selectedCards.size() > 0) {
action.addEffect(new DiscardCardFromHandEffect(selectedCards.get(0)));
action.addEffect(new DrawCardEffect(playerId));
action.addEffect(new DrawCardEffect(playerId));
}
}
}
);

View File

@@ -27,7 +27,7 @@ public class RoamingRule {
});
_modifiersLogic.addAlwaysOnModifier(
new AbstractModifier(null, "Has Roaming keyword", roamingFilter, new ModifierEffect[]{ModifierEffect.KEYWORD_MODIFIER, ModifierEffect.TWILIGHT_COST_MODIFIER}) {
new AbstractModifier(null, "Is Roaming", roamingFilter, new ModifierEffect[]{ModifierEffect.KEYWORD_MODIFIER, ModifierEffect.TWILIGHT_COST_MODIFIER}) {
@Override
public int getKeywordCount(GameState gameState, ModifiersQuerying modifiersQuerying, PhysicalCard physicalCard, Keyword keyword, int result) {
if (keyword == Keyword.ROAMING)

View File

@@ -14,6 +14,7 @@ and go with different selection.
9. Add checkbox option to auto-pass if there is no actions to be played.
10. Add active/all cards switch to the user interface.
11. Merge Shadow and FP support area on the UI and extend the Shadow and FP characters window.
12. Add rule of 4
DONE:
1. Introduce AbstractPermanent into Blueprint hierarchy.