Archery should also be able to go above 0.

This commit is contained in:
marcins78@gmail.com
2011-09-16 00:20:10 +00:00
parent 2f5a51b883
commit bb9c271a06

View File

@@ -189,7 +189,7 @@ public class ModifiersLogic implements ModifiersEnvironment, ModifiersQuerying {
result = modifier.getArcheryTotal(gameState, this, side, result);
for (Modifier modifier : getModifiers(ModifierEffect.ALL_MODIFIER))
result = modifier.getArcheryTotal(gameState, this, side, result);
return Math.min(0, result);
return Math.max(0, result);
}
@Override