fix(fight): 修复空变更提交问题

This commit is contained in:
1
2025-11-11 11:45:09 +00:00
parent d94cda883a
commit 27b408eeec
7 changed files with 52 additions and 57 deletions

View File

@@ -6,9 +6,9 @@ import (
)
type FightI interface {
Over(c PlayerI, id info.EnumBattleOverReason) //逃跑
UseSkill(c PlayerI, id int32) //使用技能
GetCurrPET(c PlayerI) *info.BattlePetEntity //当前精灵
Over(c PlayerI, id info.EnumBattleOverReason, fn func()) //逃跑
UseSkill(c PlayerI, id int32) //使用技能
GetCurrPET(c PlayerI) *info.BattlePetEntity //当前精灵
Ownerid() uint32
ReadyFight(c PlayerI) //是否准备战斗
@@ -19,5 +19,5 @@ type FightI interface {
UseItem(c PlayerI, cacthid, itemid uint32)
CanEscape() bool
IsFirst(c PlayerI) bool
GetOverChan() chan struct{}
//GetOverChan() chan struct{}
}