ai 能量进度统计
This commit is contained in:
parent
5f7b86e5ee
commit
ad64ecc289
@ -128,6 +128,11 @@ func (this *Room) AiOperator() {
|
||||
if this.NexPower != this.curPower {
|
||||
this.round++
|
||||
}
|
||||
for _, v := range szMap { //
|
||||
if v.Xgrid > 0 {
|
||||
this.player2.Energy += v.Xgrid
|
||||
}
|
||||
}
|
||||
|
||||
this.player2.Score += curScore
|
||||
// 广播消息
|
||||
|
Loading…
Reference in New Issue
Block a user