Having 0 instances of keyword, is not considered to have the keyword.

This commit is contained in:
marcins78@gmail.com
2012-03-14 15:00:31 +00:00
parent 8c20c771f4
commit f6de3457bc

View File

@@ -45,7 +45,7 @@ public class KeywordModifier extends AbstractModifier implements KeywordAffectin
@Override
public boolean hasKeyword(GameState gameState, ModifiersQuerying modifiersQuerying, PhysicalCard physicalCard, Keyword keyword) {
return (keyword == _keyword);
return (keyword == _keyword && _evaluator.evaluateExpression(gameState, modifiersQuerying, physicalCard) > 0);
}
@Override