3d8566bc-063f-41e8-8934-68c9ac5b8211
This commit is contained in:
@@ -15,6 +15,7 @@ import { PRESTIGE } from "@/lib/game/config";
|
||||
import { computeNewBlueprints, computePrestigeBonus } from "@/lib/game/engine";
|
||||
import { useState } from "react";
|
||||
import { useToast } from "@/hooks/use-toast";
|
||||
import { sfx } from "@/hooks/useAudio";
|
||||
|
||||
export function PrestigeDialog({
|
||||
open,
|
||||
@@ -106,6 +107,7 @@ export function PrestigeDialog({
|
||||
onOpenChange(false);
|
||||
setConfirming(false);
|
||||
if (res) {
|
||||
sfx("prestige");
|
||||
toast({
|
||||
title: "✦ 飞升成功",
|
||||
description: `获得 ${res.newBp} 张蓝图,进入第 ${state.ascensions + 2} 周目。`,
|
||||
|
||||
Reference in New Issue
Block a user