Archery total modifier should work only for the side it was specified for.

This commit is contained in:
marcins78@gmail.com
2011-12-01 21:44:03 +00:00
parent 3dbf795c75
commit fd50026d7f

View File

@@ -36,6 +36,8 @@ public class ArcheryTotalModifier extends AbstractModifier {
@Override
public int getArcheryTotalModifier(GameState gameState, ModifiersQuerying modifiersQuerying, Side side) {
return _evaluator.evaluateExpression(gameState, modifiersQuerying, null);
if (side == _side)
return _evaluator.evaluateExpression(gameState, modifiersQuerying, null);
return 0;
}
}