fix: 修正NPC战斗模式下技能使用逻辑
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user