refactor: 将XOR解密逻辑和事件处理移至player服务
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-02-22 01:01:37 +08:00
committed by cnb
parent ae764c946a
commit 4e313f02c7
3 changed files with 65 additions and 62 deletions

View File

@@ -85,7 +85,7 @@ func (h Controller) ArenaFightOwner(data1 *fight.ARENA_FIGHT_OWENR, c *player.Pl
c.Info.EVPool += addev
c.SendPackCmd(8004, &info.S2C_GET_BOSS_MONSTER{ //发送EV
ItemList: []data.ItemInfo{data.ItemInfo{
ItemList: []data.ItemInfo{{
ItemId: 9,
ItemCnt: int64(addev),
}},
@@ -101,7 +101,7 @@ func (h Controller) ArenaFightOwner(data1 *fight.ARENA_FIGHT_OWENR, c *player.Pl
c.GetSpace().Owner.ARENA_Player.GetInfo().EVPool += addev
c.GetSpace().Owner.ARENA_Player.SendPackCmd(8004, &info.S2C_GET_BOSS_MONSTER{ //发送EV
ItemList: []data.ItemInfo{data.ItemInfo{
ItemList: []data.ItemInfo{{
ItemId: 9,
ItemCnt: int64(addev),
}},