Overwhelming needs only >= 2*strength

This commit is contained in:
marcins78@gmail.com
2011-09-17 11:23:44 +00:00
parent 484a467844
commit 178da1654e

View File

@@ -292,7 +292,7 @@ public class ModifiersLogic implements ModifiersEnvironment, ModifiersQuerying {
@Override
public boolean isOverwhelmedByStrength(GameState gameState, PhysicalCard card, int strength, int opposingStrength) {
boolean result = (opposingStrength > strength * 2);
boolean result = (opposingStrength >= strength * 2);
for (Modifier modifier : getModifiers(ModifierEffect.OVERWHELM_MODIFIER)) {
if (affectsCardWithSkipSet(gameState, card, modifier))
result = modifier.isOverwhelmedByStrength(gameState, this, card, strength, opposingStrength, result);