MatchMaster/assets/jungle_treasure/script/JungleConfig.ts
2026-08-03 20:04:40 +08:00

61 lines
2.3 KiB
TypeScript

import { JungleActivityConfig } from "./JungleTypes";
/** 临时模拟服务器配置;正式配置接入后可直接删除本文件。 */
export function createJungleMockConfig(): JungleActivityConfig {
const hour = 60 * 60 * 1000;
return {
activityId: "jungle_mock_v1",
endAt: Date.now() + 76 * hour,
tiers: [
{ id: 1, price: 0, rewards: [{ type: "infinite_health", count: 900 }] },
{ id: 2, price: 6, productId: "jungle_mock_6", rewards: [{ type: "magic_wand", count: 1 }] },
{ id: 3, price: 0, rewards: [{ type: "coin", count: 500 }] },
{ id: 4, price: 0, rewards: [{ type: "freeze", count: 1 }] },
{
id: 5,
price: 12,
productId: "jungle_mock_12",
rewards: [
{ type: "coin", count: 1000 },
{ type: "hammer", count: 1 },
{ type: "magic_wand", count: 1 },
],
},
{ id: 6, price: 0, rewards: [{ type: "infinite_health", count: 1800 }] },
{ id: 7, price: 0, rewards: [{ type: "hammer", count: 2 }] },
{
id: 8,
price: 18,
productId: "jungle_mock_18",
rewards: [
{ type: "freeze", count: 2 },
{ type: "magic_wand", count: 2 },
],
},
{ id: 9, price: 0, rewards: [{ type: "coin", count: 1200 }] },
{
id: 10,
price: 0,
rewards: [
{ type: "coin", count: 500 },
{ type: "freeze", count: 1 },
{ type: "hammer", count: 1 },
],
},
{
id: 11,
price: 30,
productId: "jungle_mock_30",
rewards: [
{ type: "coin", count: 2000 },
{ type: "freeze", count: 2 },
{ type: "hammer", count: 2 },
{ type: "magic_wand", count: 2 },
{ type: "infinite_health", count: 3600 },
],
},
{ id: 12, price: 0, rewards: [{ type: "infinite_health", count: 3600 }] },
],
};
}