Another bunch of fixes.
This commit is contained in:
@@ -31,7 +31,7 @@ import java.util.List;
|
||||
*/
|
||||
public class Card1_057 extends AbstractAlly {
|
||||
public Card1_057() {
|
||||
super(2, 6, 3, 3, Culture.ELVEN, "Rúmil", "1_56", true);
|
||||
super(2, 6, 3, 3, Culture.ELVEN, "Rúmil", "1_57", true);
|
||||
addKeyword(Keyword.ELF);
|
||||
addKeyword(Keyword.ARCHER);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.gempukku.lotro.cards.set1.isengard;
|
||||
|
||||
import com.gempukku.lotro.cards.AbstractMinion;
|
||||
import com.gempukku.lotro.cards.PlayConditions;
|
||||
import com.gempukku.lotro.cards.effects.AddUntilStartOfPhaseModifierEffect;
|
||||
import com.gempukku.lotro.common.CardType;
|
||||
import com.gempukku.lotro.common.Culture;
|
||||
@@ -40,7 +41,7 @@ public class Card1_146 extends AbstractMinion {
|
||||
|
||||
appendPlayMinionAction(actions, lotroGame, self);
|
||||
|
||||
if (lotroGame.getGameState().getCurrentPhase() == Phase.MANEUVER
|
||||
if (PlayConditions.canUseShadowCardDuringPhase(lotroGame.getGameState(), Phase.MANEUVER, self, 0)
|
||||
&& Filters.countActive(lotroGame.getGameState(), lotroGame.getModifiersQuerying(), Filters.type(CardType.COMPANION)) >= 5) {
|
||||
|
||||
CostToEffectAction action = new CostToEffectAction(self, "Spot 5 companions to make this minion fierce until the regroup phase");
|
||||
|
||||
@@ -158,6 +158,9 @@ public class Filters {
|
||||
return new Filter() {
|
||||
@Override
|
||||
public boolean accepts(GameState gameState, ModifiersQuerying modifiersQuerying, PhysicalCard physicalCard) {
|
||||
if (physicalCard == null) {
|
||||
System.out.println("Blah!");
|
||||
}
|
||||
return (physicalCard.getBlueprint().getCardType() == cardType);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -142,6 +142,8 @@ public class ModifiersLogic implements ModifiersEnvironment, ModifiersQuerying {
|
||||
}
|
||||
|
||||
private boolean appliesStrengthModifier(GameState gameState, PhysicalCard modifierSource) {
|
||||
if (modifierSource == null)
|
||||
return true;
|
||||
boolean result = true;
|
||||
for (Modifier modifier : _modifiers) {
|
||||
if (affectsCardWithSkipSet(gameState, modifierSource, modifier))
|
||||
|
||||
Reference in New Issue
Block a user