后台:修改属性计算

This commit is contained in:
luying
2021-07-31 17:05:24 +08:00
parent c4b42f362f
commit e0077bd6ed

View File

@@ -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 = {