修改个别 import
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import {Application, BackendSession, createTcpMailBox, ChannelService} from 'pinus';
|
import {Application, BackendSession, ChannelService} from 'pinus';
|
||||||
import { handleCost, addItems } from '../../../services/rewardService';
|
import { handleCost, addItems } from '../../../services/rewardService';
|
||||||
import { calPlayerCeAndSave } from '../../../services/playerCeService';
|
import { calPlayerCeAndSave } from '../../../services/playerCeService';
|
||||||
import { resResult } from '../../../pubUtils/util';
|
import { resResult } from '../../../pubUtils/util';
|
||||||
@@ -10,7 +10,6 @@ import { ItemModel } from '../../../db/Item';
|
|||||||
import { gameData, getHeroExpByLv, getHeroStarByQuality, getHeroWakeByQuality, getHeroLvByExp, getMaxGradeByjobClass, getJobByGradeAndClass, getFriendShipById } from '../../../pubUtils/data';
|
import { gameData, getHeroExpByLv, getHeroStarByQuality, getHeroWakeByQuality, getHeroLvByExp, getMaxGradeByjobClass, getJobByGradeAndClass, getFriendShipById } from '../../../pubUtils/data';
|
||||||
import { RewardInter } from '../../../pubUtils/interface';
|
import { RewardInter } from '../../../pubUtils/interface';
|
||||||
import { getAllAttrStage } from '../../../pubUtils/playerCe';
|
import { getAllAttrStage } from '../../../pubUtils/playerCe';
|
||||||
import { Stats } from 'fs';
|
|
||||||
|
|
||||||
export default function(app: Application) {
|
export default function(app: Application) {
|
||||||
return new HeroHandler(app);
|
return new HeroHandler(app);
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* 体力系统
|
* 体力系统
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { HERO_SYSTEM_TYPE, ABI_TYPE } from '../consts';
|
import { HERO_SYSTEM_TYPE, ABI_TYPE, JEWEL_ATTR } from '../consts';
|
||||||
|
|
||||||
import { deepCopy } from './util';
|
import { deepCopy } from './util';
|
||||||
import { HeroModel, HeroType } from '../db/Hero';
|
import { HeroModel, HeroType } from '../db/Hero';
|
||||||
@@ -15,7 +15,6 @@ import { DicSe } from './dictionary/DicSe';
|
|||||||
import { EquipType } from '../db/Equip';
|
import { EquipType } from '../db/Equip';
|
||||||
import { DicRandomEffectPool } from './dictionary/DicRandomEffectPool';
|
import { DicRandomEffectPool } from './dictionary/DicRandomEffectPool';
|
||||||
import { getGoodById } from './gamedata';
|
import { getGoodById } from './gamedata';
|
||||||
import { JEWEL_ATTR } from '../consts/constModules/abilityConst';
|
|
||||||
|
|
||||||
const HERO_CE_RATIO = 100;
|
const HERO_CE_RATIO = 100;
|
||||||
const _ = require('underscore');
|
const _ = require('underscore');
|
||||||
|
|||||||
Reference in New Issue
Block a user