{
  num: -13015,
  accuracy: true,
  basePower: 0,
  category: "Status",
  name: "Korose, Kamishini no Yari",
  pp: 1,
  priority: 0,
  flags: {protect: 1, mirror: 1, metronome: 1},
  bankaiOnly(source, move) {
    if (!source) return false;
    const species = source.species || source.template || {};
    const speciesName = species.name || species.species || "";
    const speciesId = species.id || "";
    if (source.hasAbility?.("godkillingblade")) return true;
    if (speciesName === "Gin-Mega" || speciesName === "Gin-Bankai" || speciesId === "ginmega" || speciesId === "ginbankai") return true;
    if (species.forme === "Mega" && (species.baseSpecies === "Gin" || speciesName.includes("Gin"))) return true;
    this.add("-fail", source, move);
    this.attrLastMove("[still]");
    return false;
  },
  onTry(source, target, move) {
    if (!this.effect.bankaiOnly.call(this, source, move)) return null;
    if (!target || (!target.ginKamishiniSliver && !target.volatiles?.kamishinisliver)) {
      this.add("-fail", source, move);
      this.attrLastMove("[still]");
      return null;
    }
  },
  onHit(target, source, move) {
    if (!target || !source) return;
    const damage = Math.max(1, Math.floor((target.maxhp || target.baseMaxhp || 1) * 3 / 4));
    this.add("-activate", target, "move: Korose, Kamishini no Yari");
    this.damage(damage, target, source, move);
    if (!target.status) target.setStatus("tox", source, move, true);
    target.ginKamishiniSliver = false;
    target.ginKamishiniSliverSource = null;
    if (target.volatiles?.kamishinisliver) target.removeVolatile("kamishinisliver");
  },
  secondary: null,
  target: "normal",
  type: "Poison",
  zMove: {boost: {atk: 1}},
  contestType: "Cool",
  desc: "Bankai-only. Can only be used on a target with Kamishini Sliver. Activates the sliver for massive fixed damage, badly poisons, then removes the sliver."
}
