优化ability转发

This commit is contained in:
huangxiaolei
2022-12-05 00:20:25 +08:00
parent b5b7a2b47a
commit 447aeeb672
15 changed files with 267 additions and 218 deletions

View File

@@ -235,12 +235,12 @@ func (t *TickManager) onTick200MilliSecond(now int64) {
}
func (t *TickManager) onTick100MilliSecond(now int64) {
// 伤害处理和转发
for _, world := range t.gameManager.worldManager.worldMap {
for _, scene := range world.sceneMap {
scene.AttackHandler(t.gameManager)
}
}
//// 伤害处理和转发
//for _, world := range t.gameManager.worldManager.worldMap {
// for _, scene := range world.sceneMap {
// scene.AttackHandler(t.gameManager)
// }
//}
// 服务器控制的模拟AI移动