宝石类型

This commit is contained in:
mamengke01
2020-12-18 18:30:19 +08:00
parent 009537d1c7
commit f01ef54240
5 changed files with 30 additions and 15 deletions
+6 -3
View File
@@ -1,5 +1,5 @@
import { dicHero } from "./dictionary/DicHero";
import { dicGoods, blueprt } from "./dictionary/DicGoods";
import { dicGoods, blueprt, jewels } from "./dictionary/DicGoods";
import { dicBlueprtCompose } from "./dictionary/DicBlueprtCompose";
import { dicBlueprtPossibility } from "./dictionary/DicBlueprtPossibility";
import { dicDaily } from "./dictionary/DicDaily";
@@ -66,7 +66,8 @@ export const gameData = {
friendShipLevelMap: dicFriendShipLevelMap,
randomEffectPool: dicRandomEffectPool,
strengthenCost: dicStrengthenCost,
refine: dicRefine
refine: dicRefine,
jewels: jewels
};
// 在此提供一些原先在gamedata中提供的方法,以便更方便获取gameData数据
@@ -180,4 +181,6 @@ export function getFriendShipById(shipId: number, level: number) {
export function getGoodById(gid:number) {
return gameData.goods.get(gid);
}
export function getJewelById(gid:number) {
return gameData.jewels.get(gid);
}