fix: 修正NPC战斗模式下技能使用逻辑
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-02-24 08:54:21 +08:00
committed by cnb
parent 571c941ae8
commit b2189d9501

View File

@@ -267,7 +267,7 @@ func (f *FightC) handleTimeout(ourID, oppID uint32, actions map[uint32]action.Ba
if f.Info.Status == info.BattleMode.FIGHT_WITH_NPC {
// f.WinnerId = 0
go f.Our.GetAction() //boss出手后获取出招
go f.UseSkill(f.Our.Player, 0) //boss出手后获取出招
return false
} else {
var pid uint32