private void addAttack(int x, int y, int minRange, int maxRange)
    {
        int nX, nY;
        for(int i = -maxRange; i <= maxRange; i++) {
            for(int j = Math.abs(i) - maxRange; j <= maxRange - Math.abs(i); j++) {
                nX = x + i;
                nY = y + j;
                if(nX >= 0 && nX < Game.map.width && nY >= 0 && nY < Game.map.height) {
                    if(Math.abs(i) + Math.abs(j) >= minRange) {
                        if(movement[nX][nY] == 0) {
                            attList.add(new int[]{nX, nY});
                            movement[nX][nY] = 99;
                        }
                    }
                }
            }
        }
    }