{
    "pools": [
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "item",
                    "name": "firework_star",
                    "functions": [
                        {
                            "function": "set_components",
                            "components": {
                                "item_model": "sword:omen",
                                "item_name": {"text":"灾难之力"},
                                "custom_data": "{blade_offhand:1b}",
                                "lore":[
                                    {"text":"持有[灾难之力]时，玩家获得80%伤害减免","color":"gray","italic": false},
                                    {"text":"受到伤害时，减少一层[灾难之力]","color":"gray","italic": false}
                                ] 
                            }
                        },
                        {
                            "function": "set_count",
                            "count": {
                                "type": "score",
                                "target": "this",
                                "score": "blade_omen"
                            }
                        }
                    ]
                }
            ]
        }
    ]
}