diff --git a/game-server/app/servers/role/handler/heroHandler.ts b/game-server/app/servers/role/handler/heroHandler.ts index c8fa8aa0c..bc4bb6e14 100644 --- a/game-server/app/servers/role/handler/heroHandler.ts +++ b/game-server/app/servers/role/handler/heroHandler.ts @@ -1,4 +1,4 @@ -import {Application, BackendSession, createTcpMailBox, ChannelService} from 'pinus'; +import {Application, BackendSession, ChannelService} from 'pinus'; import { handleCost, addItems } from '../../../services/rewardService'; import { calPlayerCeAndSave } from '../../../services/playerCeService'; 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 { RewardInter } from '../../../pubUtils/interface'; import { getAllAttrStage } from '../../../pubUtils/playerCe'; -import { Stats } from 'fs'; export default function(app: Application) { return new HeroHandler(app); diff --git a/shared/pubUtils/playerCe.ts b/shared/pubUtils/playerCe.ts index 627725fc8..987aba31c 100644 --- a/shared/pubUtils/playerCe.ts +++ b/shared/pubUtils/playerCe.ts @@ -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 { HeroModel, HeroType } from '../db/Hero'; @@ -15,7 +15,6 @@ import { DicSe } from './dictionary/DicSe'; import { EquipType } from '../db/Equip'; import { DicRandomEffectPool } from './dictionary/DicRandomEffectPool'; import { getGoodById } from './gamedata'; -import { JEWEL_ATTR } from '../consts/constModules/abilityConst'; const HERO_CE_RATIO = 100; const _ = require('underscore');