武将初始装备栏

This commit is contained in:
luying
2020-12-17 15:30:35 +08:00
parent 727fa3041e
commit e0c1e8045b
5 changed files with 40 additions and 19 deletions
@@ -83,10 +83,10 @@ export class EntryHandler {
let equips = await EquipModel.findbyRole(role.roleId);
let items = await ItemModel.findbyRole(role.roleId);
for(let hero of heros) {
let actor = new Actor();
actor.initHero(hero);
actor.calculateCE();
for(let i of heros) {
for(let j of i.ePlace) {
console.log(j.equip)
}
}
role['heros'] = heros;