 option = document.createElement("option");
            option.value = index;
            option.text = method;
            option.selected = true;
            document.getElementById("attack_method").appendChild(option);
        });
    }

    
    function setColor() {
        var colorCode = document.getElementById('color-code').value;
        var brightnessValue = document.getElementById('color-slider').value;
        var warmLightValue = document.getElementById('warm-cold-slider').value;

        fetch