Revert "铁笼死斗积分修改"

This reverts commit 3274911772.
This commit is contained in:
dy 2023-12-25 20:31:25 +08:00
parent d3e931e634
commit c384b2de27

View File

@ -1,3 +1,4 @@
import 'tsrpc'; import 'tsrpc';
import { ApiCall, BaseConnection, ConnectionStatus, WsServer } from 'tsrpc'; import { ApiCall, BaseConnection, ConnectionStatus, WsServer } from 'tsrpc';
import { Wjjl } from './module/collection_wjjl'; import { Wjjl } from './module/collection_wjjl';
@ -132,7 +133,7 @@ BaseConnection.prototype.getDefaultFightData = async function (this: BaseConnect
posObj = this.gud.matrixPos[this.gud.selectMatrix]; posObj = this.gud.matrixPos[this.gud.selectMatrix];
} }
let heros = await HeroFun.getHeros(this, Object.values(posObj).filter(_id => _id != '') as string[]); let heros = await HeroFun.getHeros(this, Object.values(posObj).filter(_id => _id != ''));
Object.entries(posObj).forEach(obj => { Object.entries(posObj).forEach(obj => {
let pos = obj[0]; let pos = obj[0];