Merge branch 'second' of http://git.kingsome.cn/node/card_svr into second
This commit is contained in:
commit
d03b77addc
@ -8,6 +8,10 @@ import {UnitCfg} from "../cfg/parsers/UnitCfg";
|
||||
import {BaseConst} from "../constants/BaseConst";
|
||||
import SkillMan from "../rooms/logic/skill/SkillMan";
|
||||
import {FormulaCfg} from "../cfg/parsers/FormulaCfg";
|
||||
import { DropItemCfg } from '../cfg/parsers/DropItemCfg'
|
||||
import { ItemCardCfg } from '../cfg/parsers/ItemCardCfg'
|
||||
import { MatchCfg } from '../cfg/parsers/MatchCfg'
|
||||
import { ItemFuncCfg } from '../cfg/parsers/ItemFuncCfg'
|
||||
|
||||
|
||||
export function initData() {
|
||||
@ -19,6 +23,10 @@ export function initData() {
|
||||
rP(BaseConst.SYSTEMCARD, SystemCardCfg);
|
||||
rP(BaseConst.UNIT, UnitCfg);
|
||||
rP(BaseConst.FORMULA, FormulaCfg);
|
||||
rP(BaseConst.DROPITEM, DropItemCfg);
|
||||
rP(BaseConst.ITEMCARD, ItemCardCfg);
|
||||
rP(BaseConst.MATCH, MatchCfg);
|
||||
rP(BaseConst.ITEMFUNC, ItemFuncCfg);
|
||||
DataParser.loadAll();
|
||||
|
||||
let map = global.$cfg.get(BaseConst.SKILL);
|
||||
|
@ -68,4 +68,8 @@ export class BaseConst {
|
||||
public static readonly SYSTEMCARD = "systemcard";
|
||||
public static readonly UNIT = "unit";
|
||||
public static readonly FORMULA = "formula"
|
||||
public static readonly DROPITEM = "dropitem";
|
||||
public static readonly ITEMCARD = "itemcard";
|
||||
public static readonly MATCH = "match";
|
||||
public static readonly ITEMFUNC = "itemfunc"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user