Update Healer Man server
This commit is contained in:
1 parent
f8314e7de1
commit
1fedb9368d
76 files changed
+20556
-2523
No files matched your search
@@ -33,6 +33,9 @@ import { DUNGEON_RELEASE_STAGE_LABELS } from "../game/dungeonReleaseStage";
|
||||
import { useDungeonReports } from "./useDungeonReports";
|
||||
import { DungeonDifficultySlider } from "./DungeonDifficultySlider";
|
||||
import { bossDifficultyLabel } from "../game/dungeonDifficulty";
|
||||
import { useCompanionPartyPreferences } from "../game/companionPartyPreferences";
|
||||
import { CompanionPoolControls } from "./CompanionPoolControls";
|
||||
import { CompanionReadinessScreen } from "./CompanionReadinessScreen";
|
||||
|
||||
installDungeonShellRuntime();
|
||||
|
||||
@@ -85,7 +88,9 @@ export function DungeonSelectScreen() {
|
||||
const [clearFilter, setClearFilter] = useState<DungeonClearFilter>("final");
|
||||
const [difficultyId, setDifficultyId] = useState("");
|
||||
const [bossDifficulty, setBossDifficulty] = useState(1);
|
||||
const includeBetaSpecs = useCompanionPartyPreferences((state) => state.includeBetaSpecs);
|
||||
const [expandedRuns, setExpandedRuns] = useState<ReadonlySet<string>>(new Set());
|
||||
const [readinessOpen, setReadinessOpen] = useState(false);
|
||||
const leaderboardDifficulty = selectedDefinition?.difficultyVariants.find((variant) => variant.id === difficultyId)
|
||||
?? selectedDefinition?.difficultyVariants.find((variant) => variant.id === selectedDefinition.defaultDifficultyId);
|
||||
const leaderboard = useDungeonLeaderboard(selectedDungeon?.id ?? "", leaderboardDifficulty?.id ?? "normal", clearFilter, bossDifficulty);
|
||||
@@ -138,6 +143,7 @@ export function DungeonSelectScreen() {
|
||||
difficultyId: leaderboardDifficulty?.id,
|
||||
bossDifficulty,
|
||||
partySize: 5,
|
||||
includeBetaSpecs,
|
||||
});
|
||||
};
|
||||
|
||||
@@ -236,6 +242,7 @@ export function DungeonSelectScreen() {
|
||||
|
||||
const race = character ? raceById(character.raceId) : null;
|
||||
const characterClass = character ? classById(character.classId) : null;
|
||||
if (readinessOpen) return <CompanionReadinessScreen onClose={() => setReadinessOpen(false)} />;
|
||||
return (
|
||||
<DualDisplayFrame
|
||||
contextLabel="Dungeon details"
|
||||
@@ -342,6 +349,7 @@ export function DungeonSelectScreen() {
|
||||
<p className="front-notice" role="status">Select this expedition to download its required files.</p>
|
||||
)}
|
||||
<OnlineGroupPanel />
|
||||
<CompanionPoolControls onOpenReadiness={() => setReadinessOpen(true)} compact />
|
||||
{rolePickerOpen && characterClass ? (
|
||||
<section className="dungeon-role-picker" aria-labelledby="dungeon-role-title">
|
||||
<header>
|
||||
|
||||
Reference in new issue
Block a user