mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-10-09 08:36:22 +00:00
提交开宝箱
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { app } from "../App";
|
||||
import { API, PlayerTacticalOV } from "../consts/API";
|
||||
import BaseData from "./BaseData";
|
||||
import { GBattleDataEnum } from "./GBattleData";
|
||||
import GOnHookData from "./GOnHookData";
|
||||
import PlayerPetData from "./PlayerPetData";
|
||||
|
||||
export enum PlayerTacticalEvent{
|
||||
@@ -34,9 +36,12 @@ export default class PlayerTacticalData extends BaseData{
|
||||
...ov,
|
||||
roles: JSON.parse(ov.tacticalData).map(id => PlayerPetData.getIns().petIdQueryPetInfo(id) ? id : 0),
|
||||
}
|
||||
|
||||
app.event.emit(GBattleDataEnum.UPDARE_ATTRIBUTE); //刷新属性
|
||||
|
||||
//通知阵法信息已更新
|
||||
app.event.emit(PlayerTacticalEvent.UPDATE_TACTICAL);
|
||||
|
||||
}
|
||||
|
||||
//更新阵法信息
|
||||
|
Reference in New Issue
Block a user