diff --git a/gm-server/app/service/users.ts b/gm-server/app/service/users.ts index e38c53ca0..d5506101f 100644 --- a/gm-server/app/service/users.ts +++ b/gm-server/app/service/users.ts @@ -26,7 +26,7 @@ import { ItemModel } from '@db/Item'; import { gameData, getHeroExpByLv, getExpByLv } from '@pubUtils/data'; import { calPlayerCeAndSave, calculatetopLineup, calEquipSeids } from '@pubUtils/playerCe'; import { SchoolModel } from '@db/School'; -import { Attribute } from '@domain/roleField/attribute'; +import { AttributeCal } from '@domain/roleField/attribute'; import { smsModel } from '@db/Sms'; import { isString } from 'underscore'; import { FriendShipModel } from '@db/FriendShip'; @@ -447,7 +447,7 @@ export default class GMUsers extends Service { let dicHero = gameData.hero.get(hid); - let attribute = new Attribute(); + let attribute = new AttributeCal(); attribute.setByDbData(roleAttrs, heroAttrs); let heroInfo = {