Files
heros/assets/script/game/common/config/Goods.ts
2025-08-20 17:46:06 +08:00

24 lines
905 B
TypeScript

import { Items } from "./Items";
export enum GType{
ITEM=1, //物品
GOLD=2, //金币
DIAMOND=3, //钻石
EXP=4, //经验
MEAT=5, //能量
}
export enum CType{
GOLD=1, //金币
DIAMOND=2, //钻石
FREE=3, //免费
AD=4, //广告
}
export const Goods={
1001:{i_uuid:Items[9001].uuid,num:10000,cast:0,type:GType.GOLD,c_type:CType.FREE},
1002:{i_uuid:Items[9002].uuid,num:100000,cast:0,type:GType.GOLD,c_type:CType.AD,},
1003:{i_uuid:Items[9003].uuid,num:500000,cast:100,type:GType.GOLD,c_type:CType.DIAMOND},
1004:{i_uuid:Items[9004].uuid,num:100,cast:0,type:GType.DIAMOND,c_type:CType.FREE},
1005:{i_uuid:Items[9005].uuid,num:200,cast:0,type:GType.DIAMOND,c_type:CType.FREE},
1006:{i_uuid:Items[9006].uuid,num:300,cast:0,type:GType.DIAMOND,c_type:CType.AD},
1007:{i_uuid:Items[9007].uuid,num:500,cast:0,type:GType.DIAMOND,c_type:CType.AD},
}