mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Add buildable ogre types to DuelStatsView army power table
This commit is contained in:
parent
3433760cfe
commit
83f41e7808
1 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,8 @@ module.exports = class DuelStatsView extends CocoView
|
|||
'arrow-tower': 100
|
||||
palisade: 10
|
||||
peasant: 50
|
||||
thrower: 9
|
||||
scout: 18
|
||||
powers = humans: 0, ogres: 0
|
||||
for thang in @options.thangs when thang.health > 0 and thang.exists
|
||||
powers[thang.team] += @costTable[thang.type] or 0 if powers[thang.team]?
|
||||
|
|
Loading…
Reference in a new issue