修复战斗

This commit is contained in:
1
2025-11-15 22:17:43 +00:00
parent 4a4806fd82
commit 88cd1affe4
38 changed files with 708 additions and 847 deletions

View File

@@ -2,6 +2,7 @@ package player
import (
"blazing/logic/service/fight/info"
maps "blazing/logic/service/maps/info"
)
func (p *Player) SendAttackValue(b info.AttackValueS) {
@@ -10,7 +11,18 @@ func (p *Player) SendAttackValue(b info.AttackValueS) {
p.SendPack(t1.Pack(&b)) //准备包由各自发,因为协议不一样
}
func (p *Player) SendLeaveMapInfo(b maps.LeaveMapOutboundInfo) {
t1 := NewTomeeHeader(2002, p.Info.UserID)
p.SendPack(t1.Pack(&b)) //准备包由各自发,因为协议不一样
}
func (p *Player) SendEnterMapInfo(b maps.OutInfo) {
t1 := NewTomeeHeader(2001, p.Info.UserID)
p.SendPack(t1.Pack(&b)) //准备包由各自发,因为协议不一样
}
func (p *Player) SendChangePet(b info.ChangePetInfo) {
t1 := NewTomeeHeader(2407, p.Info.UserID)