{
    "pools": [
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "item",
                    "name": "firework_star",
                    "functions": [
                        {
                            "function": "set_components",
                            "components": {
                                "item_model": "sword:w_energy",
                                "custom_data": "{blade2_offhand:1b}",
                                "item_name": "弑魂之炽",
                                "rarity": "rare"
                            }
                        },
                        {
                            "function": "set_count",
                            "count": {
                                "type": "score",
                                "score": "blade2_w_energy",
                                "target": "this"
                            }
                        }
                    ]
                }
            ]
        }
    ]
}