From e0077bd6ed0d33e623280f6f6aeb01922acb2a50 Mon Sep 17 00:00:00 2001 From: luying Date: Sat, 31 Jul 2021 17:05:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=EF=BC=9A=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gm-server/app/service/users.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = {