{
  "format": "keyrota-rotation",
  "version": 1,
  "title": "암살: 예시 v1",
  "specID": 259,
  "ignoreMainIcon": true,
  "enemies": {"range": 8, "combatOnly": true},
  "notes": [
    "KeyRota 문서의 예시: 출혈 2개, 생성기, 기력을 모으는 소모 기술,",
    "낮은 생명력에서의 방어, Burst 버튼에 묶은 죽음표식.",
    "연계 점수(최대 7)의 백분율: 5점 = 71%, 기준 70 = 5 이상."
  ],
  "resources": ["PlayerHP", "TargetHP", "Energy", "Combo_Points"],
  "auras": [
    {"n": 1, "alias": "Garrote_DoT", "label": "대상의 목조르기 [703]", "spell": 703},
    {"n": 2, "alias": "Rupture_DoT", "label": "대상의 파열 [1943]", "spell": 1943},
    {"n": 3, "alias": "Envenom_Buff", "label": "독살 [32645]", "spell": 32645},
    {"n": 4, "alias": "Deathmark_DoT", "label": "대상의 죽음표식 [360194]", "spell": 360194}
  ],
  "slots": [
    {"n": 1, "alias": "Garrote", "label": "목조르기", "spell": 703, "show": "target"},
    {"n": 2, "alias": "Rupture", "label": "파열", "spell": 1943, "show": "target"},
    {"n": 3, "alias": "Envenom", "label": "독살", "spell": 32645, "show": "target"},
    {"n": 4, "alias": "Mutilate", "label": "절단", "spell": 1329, "show": "target"},
    {"n": 5, "alias": "Deathmark", "label": "죽음표식", "spell": 360194, "show": "target"},
    {"n": 6, "alias": "Crimson_Vial", "label": "진홍색 약병", "spell": 185311, "show": "combat"}
  ],
  "rules": [
    {
      "use": "Crimson_Vial",
      "name": "진홍색 약병",
      "note": ["--- 방어: ‘치유 / 방어’를 켰을 때만 ---"],
      "when": [{"all": ["defensives == 1", "PlayerHP <= 40"], "comment": "생명력 40% 이하"}]
    },
    {
      "use": "Deathmark",
      "name": "죽음표식",
      "note": ["--- 재사용 대기시간 기술: Burst를 켰을 때만 ---"],
      "when": [
        {
          "all": ["cd == 1", "Garrote_DoT.up", "Rupture_DoT.up", "Envenom_Buff.up"],
          "comment": "Burst 켬, 출혈과 독살 유지 중"
        }
      ]
    },
    {
      "use": "Garrote",
      "name": "목조르기",
      "note": ["--- 출혈 ---"],
      "when": [
        {"all": ["Garrote_DoT.down"], "comment": "출혈 없음"},
        {"all": ["Garrote_DoT.up", "Garrote_DoT.duration <= 30"], "comment": "판데믹 구간: 30% 이하 남음"}
      ]
    },
    {
      "use": "Rupture",
      "name": "파열",
      "when": [
        {"all": ["Combo_Points >= 70", "Rupture_DoT.down"], "comment": "연계 점수 5 이상, 출혈 없음"},
        {
          "all": ["Combo_Points >= 70", "Rupture_DoT.up", "Rupture_DoT.duration <= 30"],
          "comment": "연계 점수 5 이상, 판데믹 구간"
        }
      ]
    },
    {
      "use": "Envenom",
      "name": "독살",
      "note": ["--- 소모: 연계 점수 5 이상, 기력 모으기 ---"],
      "when": [
        {"all": ["Combo_Points >= 70", "Envenom_Buff.down"], "comment": "효과 없음"},
        {
          "all": ["Combo_Points >= 70", "Envenom_Buff.up", "Envenom_Buff.duration <= 20"],
          "comment": "효과 종료 직전"
        },
        {"all": ["Combo_Points >= 70", "Energy >= 70"], "comment": "기력 넘치지 않게"},
        {"all": ["Combo_Points >= 70", "Deathmark_DoT.up"], "comment": "대상에 죽음표식"}
      ]
    },
    {
      "use": "Mutilate",
      "name": "절단",
      "note": ["--- 생성기: 연계 점수 5 미만 ---"],
      "when": [{"all": ["Combo_Points < 70"], "comment": "연계 점수 5 미만"}]
    }
  ]
}
