refactor: 将XOR解密逻辑和事件处理移至player服务
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
This commit is contained in:
@@ -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),
|
||||
}},
|
||||
|
||||
Reference in New Issue
Block a user