import type { GameplayActivity, RunMode } from "./types";

/** Competitive runs always use normalized combat stats, regardless of saved gear. */
export function isPvpRunMode(runMode: RunMode): boolean {
  return runMode.endsWith("-pvp");
}

export function defaultGameplayActivity(runMode: RunMode): GameplayActivity {
  if (runMode === "hockey-healing" || runMode === "hockey-healing-pvp" || runMode === "blockbreaker" || runMode === "aether-assault") {
    return runMode;
  }
  return "boss";
}
