Commit a35f71ee33f428a336f311155617f82453057e2e

Authored by zhouhaihai
1 parent 4c5d72ab

afterRound build

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
src/adv/AdvBattle.lua
@@ -245,6 +245,9 @@ function Battle:afterRound() @@ -245,6 +245,9 @@ function Battle:afterRound()
245 for _, enemy in ipairs(self.enemys[mapIdx]) do 245 for _, enemy in ipairs(self.enemys[mapIdx]) do
246 enemy:afterRound() 246 enemy:afterRound()
247 end 247 end
  248 + for _, build in ipairs(self.builds[mapIdx]) do
  249 + build:afterRound()
  250 + end
248 self.player:clearRound() 251 self.player:clearRound()
249 for _, enemy in ipairs(self.enemys[mapIdx]) do 252 for _, enemy in ipairs(self.enemys[mapIdx]) do
250 enemy:clearRound() 253 enemy:clearRound()