|
|
a09bc7884c
|
feat(logic): 添加玩家改名功能并优化战斗逻辑
- 在 CreatePlayer.go 中添加 ChangePlayerName 函数,实现玩家改名功能
- 更新 FightC 类的 battleLoop 方法,增加平局条件和处理逻辑
- 优化 enterturn 方法,统一处理战斗结束逻辑
- 移除 global.go 中的 log 包引用,改为使用 glog
- 更新 go-sensitive-word 依赖版本
|
2025-09-10 00:41:09 +08:00 |
|