✨ feat(宝物): 添加宝物系统
This commit is contained in:
@@ -38,6 +38,7 @@ export const CONSUME_TYPE = {
|
||||
DICE: 16, // 骰子
|
||||
DRAWING: 17, // 图纸
|
||||
VOUCHER: 18, // 代金券
|
||||
ARTIFACT_GENERAL: 19, // 宝物通用
|
||||
};
|
||||
|
||||
export enum ROLE_TERAPH {
|
||||
@@ -96,6 +97,7 @@ export const ITEM_TABLE = {
|
||||
HERO: 'hero',
|
||||
SKIN: 'skin',
|
||||
JEWEL: 'jewel',
|
||||
ARTIFACT: 'artifact',
|
||||
}
|
||||
|
||||
const itid_array = [
|
||||
@@ -148,7 +150,9 @@ const itid_array = [
|
||||
{ id: 60, name: '衣服天晶石', table: 'jewel' },
|
||||
{ id: 61, name: '头饰天晶石', table: 'jewel' },
|
||||
{ id: 62, name: '行具天晶石', table: 'jewel' },
|
||||
{ id: 63, name: '代金券', table: 'item', type: CONSUME_TYPE.VOUCHER }
|
||||
{ id: 63, name: '代金券', table: 'item', type: CONSUME_TYPE.VOUCHER },
|
||||
{ id: 64, name: '宝物', table: 'artifact' },
|
||||
{ id: 65, name: '宝物通用材料', table: 'item', type: CONSUME_TYPE.ARTIFACT_GENERAL },
|
||||
];
|
||||
|
||||
export const ITID = new Map<number, { id: number, name: string, table: string, type?: number, isCurrency?: boolean, equipJewel?: number }>();
|
||||
|
||||
Reference in New Issue
Block a user