display-name: "黑暗降临" description: "有 &a%chance%%&r 的概率给予敌人 &a%seconds%&r 秒黑暗效果" placeholders: seconds: 4 + ceil(%level% / 2) chance: 6 + %level% type: normal targets: - sword conflicts: [ ] rarity: legendary max-level: 4 tradeable: true discoverable: true enchantable: true effects: - id: potion_effect args: duration: 80 + ceil(%level% / 2) * 20 chance: 6 + %level% level: 1 effect: darkness apply-to-player: false triggers: - melee_attack conditions: []