战力计算,远征战力筛选
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user