修改远征创建记录逻辑
This commit is contained in:
@@ -15,9 +15,7 @@ export class ChatHandler {
|
||||
let roleId = session.get('roleId')
|
||||
let hero = await HeroModel.find().limit(1000);
|
||||
for(let h of hero) {
|
||||
let actor = new Actor(h);
|
||||
let ce = actor.calculateCE();
|
||||
await updateCe(roleId, h);
|
||||
await updateCe(h.roleId, h);
|
||||
}
|
||||
return 'success'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user