if (hex.getTerrainType() == Terrain.WATER) {
if (hex.levelOf(Terrain.WATER) > 0) {
    public static ToHitData getAttackerTerrainModifier(Game game, int entityId) {        final Hex hex = game.board.getHex(game.getEntity(entityId).getPosition());        ToHitData toHit = new ToHitData();        if (hex.getTerrainType() == Terrain.WATER) {            toHit.addModifier(1, "attacker in water");        }                return toHit;    }