feat(活动): 节日活动-火神祭祀

This commit is contained in:
luying
2023-03-16 17:25:31 +08:00
parent f6a19fdc01
commit 04cecc2d5d
24 changed files with 566 additions and 14 deletions

View File

@@ -59,6 +59,8 @@ export enum ACTIVITY_TYPE {
SHOP = 44, // 限时商店
GUIDE_GACHA = 45, // 500抽
POP_NOTICE = 46, // 打脸公告
MINI_GAME = 47, // 小游戏
FORGE = 48, // 火神祭祀
GROUP_SHOP = 49, // 团购
BIND_PHONE = 50, // 绑定手机号
}

View File

@@ -171,6 +171,7 @@ export const PUSH_ROUTE = {
HERO_SKIN_CHANGE: 'onHeroSkinChange',
HERO_UPDATE: 'onHeroUpdate',
ITEM_UPDATE: 'onItemUpdate',
ACTIVITY_ITEM_UPDATE: 'onActivityItemUpdate',
JEWEL_DEL: 'onJewelDel',
JEWEL_ADD: 'onJewelAdd',
ARTIFACT_DEL: 'onArtifactDel',

View File

@@ -98,6 +98,7 @@ export const ITEM_TABLE = {
SKIN: 'skin',
JEWEL: 'jewel',
ARTIFACT: 'artifact',
ACTIVITY_ITEM: 'activityItem',
}
const itid_array = [
@@ -153,6 +154,7 @@ const itid_array = [
{ id: 63, name: '代金券', table: 'item', type: CONSUME_TYPE.VOUCHER },
{ id: 64, name: '宝物', table: 'artifact' },
{ id: 65, name: '宝物通用材料', table: 'item', type: CONSUME_TYPE.ARTIFACT_GENERAL },
{ id: 66, name: '活动限时材料', table: 'activityItem' },
];
export const ITID = new Map<number, { id: number, name: string, table: string, type?: number, isCurrency?: boolean, equipJewel?: number }>();

View File

@@ -57,7 +57,7 @@ export enum FRIEND_SHIP_SELECT {
GET_FRIEND_VALUE = 'friendValue friendLv'
}
export const ENTERY_ROLE_PICK = ['roleId', 'roleName', 'serverId', 'ce', 'topLineupCe', 'coin', 'lv', 'exp', 'vLv', 'gold', 'heros', 'jewels', 'artifacts', 'consumeGoods', 'title', 'teraphs', 'showLineup', 'heads', 'head', 'frames', 'frame', 'spines', 'spine', 'hasGuild', 'guildCode', 'todayZeroPoint', 'apJson', 'skins', 'totalPay', 'guide', 'hasInit', 'renameCnt', 'totalCost', 'guildName', 'isVip', 'createTime', 'ipLocation'];
export const ENTERY_ROLE_PICK = ['roleId', 'roleName', 'serverId', 'ce', 'topLineupCe', 'coin', 'lv', 'exp', 'vLv', 'gold', 'heros', 'jewels', 'artifacts', 'consumeGoods', 'title', 'teraphs', 'showLineup', 'heads', 'head', 'frames', 'frame', 'spines', 'spine', 'hasGuild', 'guildCode', 'todayZeroPoint', 'apJson', 'skins', 'totalPay', 'guide', 'hasInit', 'renameCnt', 'totalCost', 'guildName', 'isVip', 'createTime', 'ipLocation', 'activityItems'];
export enum SURVEY_SELECT {
FIND = '-__v -_id -surveyName -roleIndex -reward -mailContent -receivedRole -createdAt -updatedAt'
@@ -66,3 +66,7 @@ export enum SURVEY_SELECT {
export enum ARTIFACT_SELECT {
ENTRY = '-_id -__v -roleId -roleName -createdAt -updatedAt -status'
}
export enum ACTIVITYITEM_SELECT {
ENTRY = '-_id -__v -roleId -roleName -itemName -createdAt -updatedAt'
}

View File

@@ -1140,6 +1140,8 @@ export enum ITEM_CHANGE_REASON {
GVG_REVIVE = 174, // gvg复活队伍
GVG_USE_ITEM = 175, // gvg使用连弩
ARTIFACT_LV_RETURN = 176, // 宝物继承等级返还
ACT_FORGE_BUILD = 177, // 火神祭祀锻造
ACT_FORGE_HELP = 178, // 火神祭祀失败补助
}
export enum TA_EVENT {