{
  "format": "keyrota-rotation",
  "version": 1,
  "title": "Asesinato, banda v2.8: botón Burst, Method 12.1, SimulationCraft, mejores registros",
  "specID": 259,
  "ignoreMainIcon": true,
  "enemies": {"range": 8, "combatOnly": true},
  "notes": [
    "Asesinato, banda. Base: la guía de Method (parche 12.1), la lista de acciones de SimulationCraft y los mejores jugadores de Warcraft Logs.",
    "Ignorar el icono principal: activado. Marca letal y Perdición de Reyes solo con Burst activado; Esfumarse solo mientras Marca letal esté en el objetivo.",
    "Puntos de combo en porcentaje de 7: 3 = 43 %, 4 = 57 %, 5 = 71 %, 6 = 86 %, 7 = 100 %.",
    "",
    "v2.4: Perdición de Reyes solo con 0–3 puntos de combo (Golpes implacables luego dan 5), Esfumarse con 0–4 (Garrote desde Sigilo da 3).",
    "v2.5: Tempestad carmesí solo cuando solo uno de los dos sangrados es reciente; antes se pulsaba varias veces seguidas.",
    "v2.6: con Burst activado y Marca letal lista o ya en el objetivo, Garrote y Ruptura se aplican a un objetivo con cualquier salud.",
    "v2.7 y v2.8: objetivo nuevo sin sangrados, Burst activado, Marca letal lista, 2+ enemigos cerca: primero Tempestad carmesí copia los sangrados (con cualquier cantidad de puntos de combo), luego Marca letal."
  ],
  "resources": ["PlayerHP", "TargetHP", "Energy", "Combo_Points"],
  "auras": [
    {"n": 1, "alias": "Garrote_DoT", "label": "Garrote en el objetivo [703]", "spell": 703},
    {"n": 2, "alias": "Rupture_DoT", "label": "Ruptura en el objetivo [1943]", "spell": 1943},
    {"n": 3, "alias": "Envenom_Buff", "label": "Envenenar [32645]", "spell": 32645},
    {"n": 4, "alias": "Deathmark_DoT", "label": "Marca letal en el objetivo [360194]", "spell": 360194},
    {"n": 5, "alias": "Improved_Garrote", "label": "Garrote mejorado [392401]", "spell": 392401},
    {"n": 6, "alias": "Darkest_Night", "label": "Noche cerrada [457280]", "spell": 457280},
    {"n": 7, "alias": "Blindside", "label": "Punto ciego [121153]", "spell": 121153},
    {"n": 8, "alias": "Stealth_Buff", "label": "Sigilo [1784]", "spell": 1784},
    {"n": 9, "alias": "Stealth_Sub", "label": "Sigilo (Subterfugio) [115191]", "spell": 115191},
    {"n": 10, "alias": "Vanish_Buff", "label": "Esfumarse [11327]", "spell": 11327}
  ],
  "slots": [
    {
      "n": 1,
      "alias": "Garrote",
      "label": "Garrote",
      "spell": 703,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 2,
      "alias": "Rupture",
      "label": "Ruptura",
      "spell": 1943,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 3,
      "alias": "Envenom",
      "label": "Envenenar",
      "spell": 32645,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 4,
      "alias": "Mutilate",
      "label": "Mutilar",
      "spell": 1329,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 5,
      "alias": "Ambush",
      "label": "Emboscada",
      "spell": 8676,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 6,
      "alias": "Fan_of_Knives",
      "label": "Abanico de cuchillos",
      "spell": 51723,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 7,
      "alias": "Crimson_Tempest",
      "label": "Tempestad carmesí",
      "spell": 1247227,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 8,
      "alias": "Deathmark",
      "label": "Marca letal",
      "spell": 360194,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 9,
      "alias": "Kingsbane",
      "label": "Perdición de Reyes",
      "spell": 385627,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    },
    {
      "n": 10,
      "alias": "Vanish",
      "label": "Esfumarse",
      "spell": 1856,
      "show": "target",
      "manual": false,
      "channel": false,
      "offGcd": true,
      "queue": true
    },
    {
      "n": 11,
      "alias": "Crimson_Vial",
      "label": "Vial carmesí",
      "spell": 185311,
      "show": "combat",
      "manual": false,
      "channel": false,
      "offGcd": false,
      "queue": false
    }
  ],
  "rules": [
    {
      "use": "Crimson_Vial",
      "name": "Vial carmesí",
      "note": ["--- Defensa: solo con «Cura / defensa» activado ---"],
      "when": [{"all": ["defensives == 1", "PlayerHP <= 40"], "comment": "salud al 40 % o menos"}]
    },
    {
      "use": "Garrote",
      "name": "Garrote desde Sigilo",
      "note": ["=== Sigilo ==="],
      "when": [
        {"all": ["Stealth_Buff.up"], "comment": "en sigilo"},
        {"all": ["Stealth_Sub.up"], "comment": "en sigilo (Subterfugio)"},
        {"all": ["Vanish_Buff.up"], "comment": "justo después de Esfumarse"}
      ]
    },
    {
      "use": "Garrote",
      "name": "Garrote: ventana de Garrote mejorado",
      "when": [
        {
          "all": ["Improved_Garrote.up", "Garrote_DoT.down"],
          "comment": "ventana abierta, sin Garrote en el objetivo"
        },
        {
          "all": ["Improved_Garrote.up", "Garrote_DoT.duration <= 78"],
          "comment": "SimulationCraft: renovar cuando quedan 14 de 18 segundos"
        }
      ]
    },
    {
      "use": "Deathmark",
      "name": "Marca letal",
      "note": ["=== Reutilizaciones (botón Burst) ==="],
      "when": [
        {
          "all": [
            "cd == 1",
            "Garrote_DoT.up",
            "Rupture_DoT.up",
            "Kingsbane.cd <= 3",
            "Envenom_Buff.duration >= 35",
            "Stealth_Buff.down",
            "Stealth_Sub.down"
          ],
          "comment": "Burst activado, sangrados activos, Perdición de Reyes lista, Envenenar 2+ s más"
        }
      ]
    },
    {
      "use": "Kingsbane",
      "name": "Perdición de Reyes",
      "when": [
        {
          "all": [
            "cd == 1",
            "Garrote_DoT.up",
            "Rupture_DoT.up",
            "Envenom_Buff.up",
            "Deathmark_DoT.up",
            "Combo_Points < 50",
            "Stealth_Buff.down",
            "Stealth_Sub.down"
          ],
          "comment": "Burst activado, Marca letal en el objetivo, 0–3 puntos de combo"
        },
        {
          "all": [
            "cd == 1",
            "Garrote_DoT.up",
            "Rupture_DoT.up",
            "Envenom_Buff.up",
            "Deathmark.cd >= 44",
            "Combo_Points < 50",
            "Stealth_Buff.down",
            "Stealth_Sub.down"
          ],
          "comment": "Burst activado, Marca letal en más de 52 s, 0–3 puntos de combo"
        }
      ]
    },
    {
      "use": "Vanish",
      "name": "Esfumarse",
      "when": [
        {
          "all": [
            "Deathmark_DoT.up",
            "Improved_Garrote.down",
            "Combo_Points < 65",
            "Stealth_Buff.down",
            "Stealth_Sub.down"
          ],
          "comment": "Marca letal en el objetivo, 0–4 puntos de combo (Garrote desde Sigilo da 3)"
        }
      ]
    },
    {
      "use": "Crimson_Tempest",
      "name": "Tempestad carmesí: copiar los sangrados a un objetivo nuevo para Marca letal",
      "note": ["=== Sangrados ==="],
      "when": [
        {
          "all": [
            "cd == 1",
            "Deathmark.cd <= 3",
            "Garrote_DoT.down",
            "Rupture_DoT.down",
            "Envenom_Buff.up",
            "enemies >= 2"
          ],
          "comment": "los puntos de combo no importan"
        }
      ]
    },
    {
      "use": "Garrote",
      "name": "Garrote: mantenimiento",
      "note": [
        "Ningún sangrado nuevo en adds casi muertos (como «el objetivo vive 12+ s más» de SimulationCraft): con 1–2 objetivos y en modo «Uno», siempre;",
        "con 3+ objetivos, solo si el objetivo tiene 50 %+ de salud, o con Burst activado y Marca letal lista, o si Marca letal ya está en el objetivo."
      ],
      "when": [
        {"all": ["Garrote_DoT.down", "Combo_Points < 95", "enemies <= 2"]},
        {"all": ["Garrote_DoT.down", "Combo_Points < 95", "st == 1"]},
        {
          "all": ["Garrote_DoT.down", "Combo_Points < 95", "TargetHP >= 50"],
          "comment": "3+ objetivos: solo un objetivo que aguante"
        },
        {
          "all": ["Garrote_DoT.down", "Combo_Points < 95", "cd == 1", "Deathmark.cd <= 3"],
          "comment": "Burst activado y Marca letal lista: la salud no importa"
        },
        {
          "all": ["Garrote_DoT.down", "Combo_Points < 95", "Deathmark_DoT.up"],
          "comment": "Marca letal en el objetivo (sangrados copiados)"
        },
        {
          "all": ["Garrote_DoT.up", "Garrote_DoT.duration <= 30", "Combo_Points < 95"],
          "comment": "ventana de pandemia (ya activo)"
        }
      ]
    },
    {
      "use": "Rupture",
      "name": "Ruptura",
      "when": [
        {"all": ["Combo_Points >= 70", "Rupture_DoT.down", "enemies <= 2"]},
        {"all": ["Combo_Points >= 70", "Rupture_DoT.down", "st == 1"]},
        {
          "all": ["Combo_Points >= 70", "Rupture_DoT.down", "TargetHP >= 50"],
          "comment": "3+ objetivos: solo un objetivo que aguante"
        },
        {
          "all": ["Combo_Points >= 70", "Rupture_DoT.down", "cd == 1", "Deathmark.cd <= 3"],
          "comment": "Burst activado y Marca letal lista"
        },
        {
          "all": ["Combo_Points >= 70", "Rupture_DoT.down", "Deathmark_DoT.up"],
          "comment": "Marca letal en el objetivo"
        },
        {
          "all": ["Combo_Points >= 70", "Rupture_DoT.up", "Rupture_DoT.duration <= 25", "Darkest_Night.down"],
          "comment": "renovación; no gastar en ella los 7 puntos de combo de Noche cerrada"
        }
      ]
    },
    {
      "use": "Crimson_Tempest",
      "name": "Tempestad carmesí: extender los sangrados justo después de una Ruptura o un Garrote recientes",
      "note": [
        "=== Generadores: hasta 5 puntos de combo, hasta 7 con Noche cerrada ===",
        "",
        "Tempestad carmesí una vez justo después de una Ruptura reciente (con 4+ objetivos también tras un Garrote reciente); si no, Abanico de cuchillos.",
        "Solo uno de los dos debe ser reciente (94 %+): justo después de Tempestad carmesí lo son los dos, así que la siguiente espera."
      ],
      "when": [
        {
          "all": [
            "aoe == 1",
            "Darkest_Night.down",
            "Combo_Points < 70",
            "Garrote_DoT.up",
            "Rupture_DoT.up",
            "Rupture_DoT.duration >= 94",
            "Garrote_DoT.duration < 94"
          ]
        },
        {
          "all": [
            "aoe == 1",
            "Darkest_Night.down",
            "Combo_Points < 70",
            "Garrote_DoT.up",
            "Rupture_DoT.up",
            "Garrote_DoT.duration >= 94",
            "Rupture_DoT.duration < 94"
          ]
        },
        {
          "all": [
            "aoe == 1",
            "Darkest_Night.up",
            "Combo_Points < 95",
            "Garrote_DoT.up",
            "Rupture_DoT.up",
            "Rupture_DoT.duration >= 94",
            "Garrote_DoT.duration < 94"
          ]
        },
        {
          "all": [
            "aoe == 1",
            "Darkest_Night.up",
            "Combo_Points < 95",
            "Garrote_DoT.up",
            "Rupture_DoT.up",
            "Garrote_DoT.duration >= 94",
            "Rupture_DoT.duration < 94"
          ]
        },
        {
          "all": [
            "st == 0",
            "enemies >= 4",
            "Darkest_Night.down",
            "Combo_Points < 70",
            "Garrote_DoT.up",
            "Rupture_DoT.up",
            "Rupture_DoT.duration >= 94",
            "Garrote_DoT.duration < 94"
          ]
        },
        {
          "all": [
            "st == 0",
            "enemies >= 4",
            "Darkest_Night.down",
            "Combo_Points < 70",
            "Garrote_DoT.up",
            "Rupture_DoT.up",
            "Garrote_DoT.duration >= 94",
            "Rupture_DoT.duration < 94"
          ]
        },
        {
          "all": [
            "st == 0",
            "enemies >= 4",
            "Darkest_Night.up",
            "Combo_Points < 95",
            "Garrote_DoT.up",
            "Rupture_DoT.up",
            "Rupture_DoT.duration >= 94",
            "Garrote_DoT.duration < 94"
          ]
        },
        {
          "all": [
            "st == 0",
            "enemies >= 4",
            "Darkest_Night.up",
            "Combo_Points < 95",
            "Garrote_DoT.up",
            "Rupture_DoT.up",
            "Garrote_DoT.duration >= 94",
            "Rupture_DoT.duration < 94"
          ]
        },
        {
          "all": [
            "st == 0",
            "enemies >= 2",
            "enemies <= 3",
            "Darkest_Night.down",
            "Combo_Points < 70",
            "Garrote_DoT.up",
            "Rupture_DoT.up",
            "Rupture_DoT.duration >= 94",
            "Garrote_DoT.duration < 94"
          ],
          "comment": "2–3 objetivos: solo tras una Ruptura reciente"
        },
        {
          "all": [
            "st == 0",
            "enemies >= 2",
            "enemies <= 3",
            "Darkest_Night.up",
            "Combo_Points < 95",
            "Garrote_DoT.up",
            "Rupture_DoT.up",
            "Rupture_DoT.duration >= 94",
            "Garrote_DoT.duration < 94"
          ],
          "comment": "2–3 objetivos: solo tras una Ruptura reciente"
        }
      ]
    },
    {
      "use": "Fan_of_Knives",
      "name": "Abanico de cuchillos: un objetivo, Noche cerrada, falta un punto de combo",
      "when": [
        {"all": ["st == 1", "Darkest_Night.up", "Combo_Points >= 80", "Combo_Points < 95"]},
        {"all": ["aoe == 0", "enemies <= 1", "Darkest_Night.up", "Combo_Points >= 80", "Combo_Points < 95"]}
      ]
    },
    {
      "use": "Fan_of_Knives",
      "name": "Abanico de cuchillos: 2+ objetivos",
      "when": [
        {"all": ["aoe == 1", "Darkest_Night.down", "Combo_Points < 70"]},
        {"all": ["aoe == 1", "Darkest_Night.up", "Combo_Points < 95"]},
        {"all": ["st == 0", "enemies >= 2", "Darkest_Night.down", "Combo_Points < 70"]},
        {"all": ["st == 0", "enemies >= 2", "Darkest_Night.up", "Combo_Points < 95"]}
      ]
    },
    {
      "use": "Ambush",
      "name": "Emboscada (Punto ciego)",
      "when": [
        {"all": ["Blindside.up", "st == 1", "Darkest_Night.down", "Combo_Points < 70"]},
        {"all": ["Blindside.up", "st == 1", "Darkest_Night.up", "Combo_Points < 95"]},
        {"all": ["Blindside.up", "aoe == 0", "enemies <= 1", "Darkest_Night.down", "Combo_Points < 70"]},
        {"all": ["Blindside.up", "aoe == 0", "enemies <= 1", "Darkest_Night.up", "Combo_Points < 95"]}
      ]
    },
    {
      "use": "Mutilate",
      "name": "Mutilar",
      "when": [
        {"all": ["st == 1", "Darkest_Night.down", "Combo_Points < 70"]},
        {"all": ["st == 1", "Darkest_Night.up", "Combo_Points < 95"]},
        {"all": ["aoe == 0", "enemies <= 1", "Darkest_Night.down", "Combo_Points < 70"]},
        {"all": ["aoe == 0", "enemies <= 1", "Darkest_Night.up", "Combo_Points < 95"]}
      ]
    },
    {
      "use": "Envenom",
      "name": "Envenenar",
      "note": [
        "=== Gasto: 5+ puntos de combo (7 con Noche cerrada) ===",
        "SimulationCraft: no pulsarlo enseguida, sino mantener Envenenar activo: en el último segundo del beneficio, mientras Marca letal esté en el objetivo, antes de llenar la energía, antes con 4+ objetivos."
      ],
      "when": [
        {"all": ["Darkest_Night.down", "Combo_Points >= 70", "Envenom_Buff.down"]},
        {
          "all": ["Darkest_Night.down", "Combo_Points >= 70", "Envenom_Buff.duration <= 20"],
          "comment": "queda ~1 s"
        },
        {"all": ["Darkest_Night.down", "Combo_Points >= 70", "Deathmark_DoT.up"]},
        {
          "all": ["Darkest_Night.down", "Combo_Points >= 70", "Energy >= 70"],
          "comment": "no desbordar la energía"
        },
        {"all": ["Darkest_Night.down", "Combo_Points >= 70", "Energy >= 30", "enemies >= 4"]},
        {"all": ["Darkest_Night.up", "Combo_Points >= 95", "Envenom_Buff.down"]},
        {"all": ["Darkest_Night.up", "Combo_Points >= 95", "Envenom_Buff.duration <= 20"]},
        {"all": ["Darkest_Night.up", "Combo_Points >= 95", "Deathmark_DoT.up"]},
        {"all": ["Darkest_Night.up", "Combo_Points >= 95", "Energy >= 70"]},
        {"all": ["Darkest_Night.up", "Combo_Points >= 95", "Energy >= 30", "enemies >= 4"]}
      ]
    }
  ]
}
