i'm adding value on the windfury but the bot keeps picking another card...
i'll paste you the codes so you can take a look and help me with it u.u
(i still not understand how the bot decides to choose one for another)
{
"GameCardId":"UNG_075",
"ConfigComment":"Vicious Fledgling : After this minion attacks a_hero, Adapt.",
"OnAdaptCardBonus":
{
"values":
[
{
"comment":"bonus this card if select windfury (UNG_999t7) to adapt when opponent hero is attackable",
"condition": "opp_minions(count(),taunt=true)==0 AND my_discover(count(),cardid=UNG_999t7) > 0 AND my_discover(count(), windfury < 1) > 0",
"value":"90",
},
{
"comment":"bonus this card if select stealthed until your next turn (UNG_999t10) to adapt when opponent hero is attackable",
"condition": "opp_minions(count(),taunt=true)==0 AND my_discover(count(),cardid=UNG_999t10) > 0 AND my_discover(count(), stealthed < 1) > 0",
"value":"80",
},
{
"comment":"bonus this card if select +3 attack (UNG_999t3) to adapt when opponent hero is attackable",
"condition": "opp_minions(count(),taunt=true)==0 AND my_discover(count(),cardid=UNG_999t3) > 0 ",
"value":"70",
},
{
"comment":"bonus this card if select +3 health (UNG_999t4) to adapt when opponent hero is attackable",
"condition": "opp_minions(count(),taunt=true)==0 AND my_discover(count(),cardid=UNG_999t4) > 0 ",
"value":"60",
},
{
"comment":"bonus this card if select +1/+1 (UNG_999t14) to adapt when opponent hero is attackable",
"condition": "opp_minions(count(),taunt=true)==0 AND my_discover(count(),cardid=UNG_999t14) > 0 ",
"value":"20",
},
{
"comment":"bonus this card if select divineshield (UNG_999t8) to adapt when opponent hero is attackable",
"condition": "opp_minions(count(),taunt=true)==0 AND my_discover(count(),cardid=UNG_999t8) > 0 AND my_discover(count(), divineshield < 1) > 0",
"value":"15",
},
{
"comment":"bonus this card if select poisonous (UNG_999t13) to adapt when opponent hero is attackable",
"condition": "opp_minions(count(),taunt=true)==0 AND my_discover(count(),cardid=UNG_999t13) > 0 ",
"value":"15",
}
],
},
"BeforePhysicalAttackBonus":
{
"values":
[
{
"comment":"bonus this card to attack opponent hero when opponent hero is attackable",
"condition": "opp_minions(count(),taunt=true)==0 AND my_target(count(),hero=true) > 0 ",
"value":"10",
}
],
},
"BeforePlayCardBonus":
{
"values":
[
{
"condition": "*",
"value":"10",
}
],
},
"InHandPlayPriority":
{
"values":
[
{
"condition": "*",
"value":"10",
}
],
},
}
JoyAdmin;51476 wrote:You can use a much higher value in [OnAdaptCardBonus] if it doesn't choose [windfury] sometimes.