战力计算,远征战力筛选

This commit is contained in:
luying
2020-11-12 18:21:05 +08:00
parent 40c16587b3
commit b0a0bbc71b
34 changed files with 22812 additions and 15964 deletions
@@ -29,12 +29,14 @@ export class RoleHandler {
async initHeros(roleId: string, roleName: string) {
const seqId = await CounterModel.getNewCounter('hid');
let ce = calculateCE({hid: 1, lv: 1});
const heroInfo = {
roleId,
roleName,
hid: 1,
hName: '曹操',
seqId,
star: 0,
ce
}
await HeroModel.createHero(heroInfo);