[common] diffilicity presets support

This commit is contained in:
2019-04-08 14:53:44 +03:00
parent d0104e4361
commit 13d01293f6
28 changed files with 248 additions and 132 deletions

View File

@@ -41,24 +41,25 @@ team:
id: radiant
color: 0xff4422
players:
- {<<: *player-slow, index: 0, human: 1, color: 0xff8866}
- {<<: *player-fast, index: 1}
- {<<: *player-slow, index: 2}
- {<<: *player-fast, index: 3}
- {<<: *player-slow, index: 4}
- {<<: *player-slow, index: 0, control: human-0, color: 0xff8866}
- {<<: *player-fast, index: 1, control: bot-hard}
- {<<: *player-slow, index: 2, control: bot-hard}
- {<<: *player-fast, index: 3, control: bot-hard}
- {<<: *player-slow, index: 4, control: bot-hard}
dire: &dire
<<: *team
id: dire
color: 0x3284ff
players:
- {<<: *player-slow, index: 0}
- {<<: *player-fast, index: 1}
- {<<: *player-slow, index: 2}
- {<<: *player-fast, index: 3}
- {<<: *player-slow, index: 4}
- {<<: *player-slow, index: 0, control: bot-hard}
- {<<: *player-fast, index: 1, control: bot-hard}
- {<<: *player-slow, index: 2, control: bot-hard}
- {<<: *player-fast, index: 3, control: bot-hard}
- {<<: *player-slow, index: 4, control: bot-hard}
presets:
- id: default
- id: 0
name: default
teams:
- <<: *radiant
- <<: *dire