Hearthranger - How to customize extra auto concede in vision a.i. ?
Open the ini file :
CustomConfig\deck_config.ini
In [CONFIGS] section, setup your deck's custom configuration directory, you need to create the directory under [CustomConfig] by yourself.
[CONFIGS]
MyDeckName = My_Deck_Config_Dir_Name
In the directory of [My_Deck_Config_Dir_Name], create a json file named [Concede.json].
Concede.json
A sample:
{
"GameCardId":"Concede",
"ConfigComment":"This is the extra auto concede settings file.",
"ExtraConcdeSettings":
{
"values":
[
{
"comment":"concede when max mana >=8 and opponent has hp >= 15",
"condition": "my_hero(count(),max_mana >=8) > 0 AND opp_hero(min(health)) >= 15",
"value":"1",
}
],
},
}
When condiction is matched and the value is 1, then bot will concede.
*Bot matches each config values from top to bottom, so value order matters.
To understand condition and value, please read:
Hearthranger - How to understand json config ?