活动:新将抽卡添加固定奖励

This commit is contained in:
qiaoxin
2021-06-24 15:49:40 +08:00
parent 51b96a6853
commit d906392764
6 changed files with 37 additions and 14 deletions

View File

@@ -33,6 +33,7 @@ export const CONSUME_TYPE = {
SPINE: 13, // 形象
GIFT_PACKAGE: 14, // 礼包
AP: 15, // 回复体力道具
DICE: 16, // 骰子
};
export enum ROLE_TERAPH {
@@ -144,7 +145,9 @@ const itid_array = [
{ id: 51, name: '相框', table: 'role', type: CONSUME_TYPE.FRAME },
{ id: 52, name: '玩家形象', table: 'role', type: CONSUME_TYPE.SPINE },
{ id: 55, name: '回复体力道具', table: 'item', type: CONSUME_TYPE.AP },
{ id: 56, name: '普通骰子', table: 'item', type: CONSUME_TYPE.DICE },
{ id: 57, name: '天机骰子', table: 'item', type: CONSUME_TYPE.DICE },
];
export const ITID = new Map<number, { id: number, name: string, table: string, type?: number, isCurrency?: boolean, equipJewel?: number }>();
@@ -162,7 +165,9 @@ export const CURRENCY_TYPE = {
FRIEND_POINT: "friendPoint",
HONOUR: "honour",
SKIN_COIN: "skinCoin",
DUNGEON: "dungeon"
DUNGEON: "dungeon",
NORMAL_DICE: "normalDice",
SPECIAL_DICE: "specialDice"
}
@@ -180,7 +185,9 @@ const currencyArr = [
{ "gid": 40004, "name": "秘境币", "type": CURRENCY_TYPE.DUNGEON_POINT },
{ "gid": 40005, "name": "功勋", "type": CURRENCY_TYPE.HONOUR },
{ "gid": 40006, "name": "蜀锦", "type": CURRENCY_TYPE.SKIN_COIN },
{ "gid": 40007, "name": "秘境币", "type": CURRENCY_TYPE.DUNGEON }
{ "gid": 40007, "name": "秘境币", "type": CURRENCY_TYPE.DUNGEON },
{ "gid": 72011, "name": "普通骰子", "type": CURRENCY_TYPE.NORMAL_DICE },
{ "gid": 72021, "name": "天机骰子", "type": CURRENCY_TYPE.SPECIAL_DICE }
];
export const CURRENCY = new Map<number, { gid: number, name: string, type: string }>();
export const CURRENCY_BY_TYPE = new Map<string, number>();