fix: 修复空提交问题

This commit is contained in:
1
2025-11-23 23:42:16 +00:00
parent 240c349b8a
commit 2723b1871d
4 changed files with 8 additions and 11 deletions

View File

@@ -23,7 +23,7 @@ func (h Controller) UseSkill(data *fight.UseSkillInInfo, c *player.Player) (resu
if c.FightC == nil {
return nil, errorcode.ErrorCodes.ErrBattleEnded
}
c.FightC.UseSkill(c, int32(data.SkillId))
c.FightC.UseSkill(c, (data.SkillId))
return nil, 0
}