分解装备 穿戴或卸载装备 装备打孔 宝石镶嵌 宝石合成 宝石卸下
This commit is contained in:
@@ -173,4 +173,9 @@ export function getJobByGradeAndClass(jobClass: number, grade: number) {
|
||||
|
||||
export function getFriendShipById(shipId: number, level: number) {
|
||||
return gameData.friendShips.get(shipId +'_' + level);
|
||||
}
|
||||
}
|
||||
|
||||
export function getGoodById(gid:number) {
|
||||
return gameData.goods.get(gid);
|
||||
}
|
||||
|
||||
|
||||
5
shared/pubUtils/dicParam.ts
Normal file
5
shared/pubUtils/dicParam.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const EQUIP = {
|
||||
EQUIP_ONE_HOLE: '1&1', // 装备孔1号位消耗
|
||||
EQUIP_TWO_HOLE: '1&2', // 装备孔2号位消耗
|
||||
EQUIP_THREE_HOLE: '1&4', // 装备孔3号位消耗
|
||||
};
|
||||
@@ -91,12 +91,11 @@ arr.forEach(o => {
|
||||
o.randomEffect = parseNumberList(o.randomEffect);
|
||||
dicGoods.set(o.good_id, _.pick(o, Object.keys(DicGoodsKeys)));
|
||||
|
||||
if(o.itid == IT_TYPE.BLUEPRT) {
|
||||
if (o.itid == IT_TYPE.BLUEPRT) {
|
||||
let arr = blueprt.get(o.quality)||new Array<number>();
|
||||
arr.push(o.good_id);
|
||||
blueprt.set(o.quality, arr);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
function parseSpecialAttr(str: string) {
|
||||
|
||||
Reference in New Issue
Block a user