{
    "neoforge:conditions": [
        {
            "type": "neoforge:mod_loaded",
            "modid": "twilightforest"
        }
    ],
    "type": "apotheosis:gem",
    "constraints": {
        "dimensions": [
            "twilightforest:twilight_forest"
        ]
    },
    "min_purity": "flawed",
    "unique": true,
    "weights": {
        "summit": {
            "quality": 2.0,
            "weight": 50
        },
        "pinnacle": {
            "quality": 2.0,
            "weight": 50
        }
    },
    "bonuses": [
        {
            "type": "apotheosis:twilight_fortification",
            "gem_class": "apotheosis:chestplate",
            "values": {
                "flawed": {
                    "chance": 0.05,
                    "cooldown": 6000
                },
                "normal": {
                    "chance": 0.1,
                    "cooldown": 5400
                },
                "flawless": {
                    "chance": 0.125,
                    "cooldown": 5100
                },
                "perfect": {
                    "chance": 0.15,
                    "cooldown": 4800
                }
            }
        },
        {
            "type": "apotheosis:attribute",
            "attribute": "apothic_attributes:cold_damage",
            "gem_class": "apotheosis:helmet",
            "operation": "add_multiplied_total",
            "values": {
                "flawed": 0.5,
                "normal": 0.625,
                "flawless": 0.75,
                "perfect": 0.9
            }
        },
        {
            "type": "apotheosis:frozen_drops",
            "gem_class": "apotheosis:melee_weapon",
            "values": {
                "normal": 0.2,
                "flawless": 0.4,
                "perfect": 0.6
            }
        },
        {
            "type": "apotheosis:mob_effect",
            "gem_class": {
                "key": "ranged_weapon",
                "types": [
                    "apotheosis:bow",
                    "apotheosis:trident"
                ]
            },
            "mob_effect": "twilightforest:frosted",
            "target": "arrow_target",
            "values": {
                "flawless": {
                    "duration": 180,
                    "amplifier": 1,
                    "cooldown": 500
                },
                "perfect": {
                    "duration": 240,
                    "amplifier": 2,
                    "cooldown": 500
                }
            }
        }
    ]
}
