{
  "format": "keyrota-rotation",
  "version": 1,
  "title": "暴徒 v2.6：團隊副本與傳奇鑰石，頂尖日誌，SimulationCraft 12.1",
  "specID": 260,
  "ignoreMainIcon": true,
  "enemies": {"range": 8, "combatOnly": true},
  "notes": [
    "暴徒，團隊副本與傳奇鑰石。依據：Warcraft Logs 頂尖玩家與 SimulationCraft 動作列表。",
    "忽略主圖示：開啟。欄位 1 是巨集：能量刺激 + 狂舞殘殺（不佔 GCD，在佇列視窗）；欄位 4 的骰個不停不佔 GCD；欄位 8 的狂舞殘殺是引導技能。",
    "狂舞殘殺光環剩餘超過 8% 時什麼都不按：否則下一個按鍵會在最後一擊前打斷引導。",
    "連擊點數以 7 點的百分比計：3 = 43%，5 = 71%，6 = 86%（門檻 80 = 6 點以上）。",
    "",
    "v2.6：命運之骰的 3–4 級在快結束時不重擲：讓它自然結束，下一次擲骰通常帶有灌鉛骰子。",
    "v2.5：能量刺激僅在 1–5 個連擊點數時使用：開怪時先用邪惡攻擊，再按巨集（0 個連擊點數時巨集裡的狂舞殘殺放不出來）。"
  ],
  "resources": ["PlayerHP", "TargetHP", "Energy", "Combo_Points"],
  "auras": [
    {"n": 1, "alias": "Double_Trouble", "label": "雙倍麻煩 [1214934]", "spell": 1214934},
    {"n": 2, "alias": "Triple_Threat", "label": "三重威脅 [1214935]", "spell": 1214935},
    {"n": 3, "alias": "Jackpot", "label": "中大獎 [1214937]", "spell": 1214937},
    {"n": 4, "alias": "Loaded_Dice", "label": "灌鉛骰子 [256171]", "spell": 256171},
    {"n": 5, "alias": "Blade_Flurry_Buff", "label": "劍刃亂舞 [13877]", "spell": 13877},
    {"n": 6, "alias": "Adrenaline_Rush_Buff", "label": "能量刺激 [13750]", "spell": 13750},
    {"n": 7, "alias": "Opportunity", "label": "大好機會 [195627]", "spell": 195627},
    {"n": 8, "alias": "Palmed_Bullets", "label": "掌中子彈 [1265931]", "spell": 1265931},
    {"n": 9, "alias": "Fang_Strike", "label": "尖牙打擊 [1301405]", "spell": 1301405},
    {"n": 10, "alias": "Killing_Spree_Buff", "label": "狂舞殘殺，引導 [51690]", "spell": 51690}
  ],
  "slots": [
    {
      "n": 1,
      "alias": "Adrenaline_Rush",
      "label": "能量刺激 + 狂舞殘殺（巨集）",
      "spell": 13750,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": true,
      "queue": true
    },
    {
      "n": 2,
      "alias": "Blade_Flurry",
      "label": "劍刃亂舞",
      "spell": 13877,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 3,
      "alias": "Roll_the_Bones",
      "label": "命運之骰",
      "spell": 1214909,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 4,
      "alias": "Keep_It_Rolling",
      "label": "骰個不停",
      "spell": 381989,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": true,
      "queue": false
    },
    {
      "n": 5,
      "alias": "Preparation",
      "label": "備戰",
      "spell": 1277933,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 6,
      "alias": "Blade_Rush",
      "label": "劍刃猛攻",
      "spell": 271877,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 7,
      "alias": "Between_the_Eyes",
      "label": "正中眉心",
      "spell": 315341,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 8,
      "alias": "Killing_Spree",
      "label": "狂舞殘殺",
      "spell": 51690,
      "show": "target",
      "manual": false,
      "channel": true,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 9,
      "alias": "Dispatch",
      "label": "抹殺",
      "spell": 2098,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 10,
      "alias": "Pistol_Shot",
      "label": "手槍射擊",
      "spell": 185763,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 11,
      "alias": "Sinister_Strike",
      "label": "邪惡攻擊",
      "spell": 193315,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    }
  ],
  "rules": [
    {
      "use": "Adrenaline_Rush",
      "name": "能量刺激（巨集裡帶狂舞殘殺）：1–5 個連擊點數",
      "note": ["=== 冷卻技能 ==="],
      "when": [
        {
          "all": [
            "Adrenaline_Rush_Buff.down",
            "Combo_Points >= 14",
            "Combo_Points <= 71",
            "Killing_Spree_Buff.duration <= 8"
          ],
          "comment": "1–5 個連擊點數：0 點時巨集放不出狂舞殘殺"
        }
      ]
    },
    {
      "use": "Killing_Spree",
      "name": "狂舞殘殺：剛開的能量刺激期間、6+ 個連擊點數，先於正中眉心",
      "when": [
        {
          "all": [
            "Adrenaline_Rush_Buff.up",
            "Adrenaline_Rush.cd >= 67",
            "Combo_Points >= 80",
            "Killing_Spree_Buff.duration <= 8"
          ],
          "comment": "剛按過能量刺激；備戰之後等新的一次"
        }
      ]
    },
    {
      "use": "Keep_It_Rolling",
      "name": "骰個不停：延長 3–4 級",
      "note": [
        "=== 命運之骰 ===",
        "擲骰機率：1 級 55%，2 級 30%，3 級 10%，4 級 5%；灌鉛骰子（能量刺激之後）提高一級。",
        "3–4 級：用骰個不停延長，不重擲；2 級：有灌鉛骰子時隨時重擲，沒有時只在結束前重擲；0–1 級：總是重擲。",
        "沒有灌鉛骰子且能量刺激快要冷卻好時不擲：先開能量刺激，再帶著灌鉛骰子擲骰。"
      ],
      "when": [
        {"all": ["Triple_Threat.up", "Killing_Spree_Buff.duration <= 8"]},
        {"all": ["Jackpot.up", "Killing_Spree_Buff.duration <= 8"]}
      ]
    },
    {
      "use": "Roll_the_Bones",
      "name": "命運之骰",
      "when": [
        {
          "all": [
            "Double_Trouble.down",
            "Triple_Threat.down",
            "Jackpot.down",
            "Loaded_Dice.up",
            "Killing_Spree_Buff.duration <= 8"
          ],
          "comment": "0–1 級 + 灌鉛骰子"
        },
        {
          "all": [
            "Double_Trouble.down",
            "Triple_Threat.down",
            "Jackpot.down",
            "Adrenaline_Rush.cd >= 3",
            "Killing_Spree_Buff.duration <= 8"
          ],
          "comment": "0–1 級，能量刺激還早"
        },
        {
          "all": [
            "Double_Trouble.down",
            "Triple_Threat.down",
            "Jackpot.down",
            "Adrenaline_Rush_Buff.up",
            "Killing_Spree_Buff.duration <= 8"
          ],
          "comment": "0–1 級，能量刺激期間"
        },
        {
          "all": ["Double_Trouble.up", "Loaded_Dice.up", "Killing_Spree_Buff.duration <= 8"],
          "comment": "2 級 + 灌鉛骰子"
        },
        {
          "all": [
            "Double_Trouble.up",
            "Double_Trouble.duration <= 7",
            "Adrenaline_Rush.cd >= 3",
            "Killing_Spree_Buff.duration <= 8"
          ],
          "comment": "2 級快結束，能量刺激還早"
        }
      ]
    },
    {
      "use": "Blade_Flurry",
      "name": "劍刃亂舞：2+ 個目標時維持，結束前約 3 秒刷新",
      "when": [
        {"all": ["aoe == 1", "Blade_Flurry_Buff.down", "Killing_Spree_Buff.duration <= 8"]},
        {"all": ["aoe == 1", "Blade_Flurry_Buff.duration <= 30", "Killing_Spree_Buff.duration <= 8"]},
        {"all": ["st == 0", "enemies >= 2", "Blade_Flurry_Buff.down", "Killing_Spree_Buff.duration <= 8"]},
        {
          "all": ["st == 0", "enemies >= 2", "Blade_Flurry_Buff.duration <= 30", "Killing_Spree_Buff.duration <= 8"]
        }
      ]
    },
    {
      "use": "Preparation",
      "name": "備戰：能量刺激、正中眉心與狂舞殘殺都在冷卻時",
      "when": [
        {
          "all": [
            "Adrenaline_Rush.oncd",
            "Adrenaline_Rush.cd >= 17",
            "Between_the_Eyes.oncd",
            "Killing_Spree.oncd",
            "Killing_Spree_Buff.duration <= 8"
          ]
        }
      ]
    },
    {
      "use": "Blade_Rush",
      "name": "劍刃猛攻：在終結技之前（如果點了天賦）",
      "when": [
        {"all": ["aoe == 1", "Killing_Spree_Buff.duration <= 8"]},
        {"all": ["st == 0", "enemies >= 2", "Killing_Spree_Buff.duration <= 8"]},
        {"all": ["Energy <= 80", "Killing_Spree_Buff.duration <= 8"], "comment": "單體：能量未滿時"}
      ]
    },
    {
      "use": "Between_the_Eyes",
      "name": "正中眉心：總是第一個終結技",
      "note": ["=== 終結技：6+ 個連擊點數 ==="],
      "when": [{"all": ["Combo_Points >= 80", "Killing_Spree_Buff.duration <= 8"]}]
    },
    {
      "use": "Dispatch",
      "name": "尖牙打擊：免費的滿傷害抹殺，不消耗連擊點數",
      "when": [{"all": ["Fang_Strike.up", "Between_the_Eyes.oncd", "Killing_Spree_Buff.duration <= 8"]}]
    },
    {
      "use": "Dispatch",
      "name": "抹殺",
      "when": [{"all": ["Combo_Points >= 80", "Killing_Spree_Buff.duration <= 8"]}]
    },
    {
      "use": "Blade_Flurry",
      "name": "劍刃亂舞當作產生技能，3+ 個目標",
      "note": ["=== 產生技能：最多 5 個連擊點數 ==="],
      "when": [
        {"all": ["aoe == 1", "Combo_Points <= 57", "Killing_Spree_Buff.duration <= 8"]},
        {"all": ["st == 0", "enemies >= 3", "Combo_Points <= 57", "Killing_Spree_Buff.duration <= 8"]}
      ]
    },
    {
      "use": "Pistol_Shot",
      "name": "大好機會觸發時的手槍射擊",
      "when": [
        {
          "all": ["Opportunity.stacks >= 6", "Combo_Points < 80", "Killing_Spree_Buff.duration <= 8"],
          "comment": "層數已滿"
        },
        {
          "all": [
            "Opportunity.up",
            "Opportunity.duration <= 17",
            "Combo_Points < 80",
            "Killing_Spree_Buff.duration <= 8"
          ],
          "comment": "層數快消失（不到 2 秒）"
        },
        {
          "all": ["Opportunity.up", "Combo_Points <= 43", "Killing_Spree_Buff.duration <= 8"],
          "comment": "3 個連擊點數以下：都裝得下"
        }
      ]
    },
    {
      "use": "Sinister_Strike",
      "name": "邪惡攻擊",
      "when": [{"all": ["Combo_Points < 80", "Killing_Spree_Buff.duration <= 8"]}]
    }
  ]
}
