Axion;58686 wrote:Let's see if I understand ...
Do you want the bot to make a specific choice when you discover a secret?
put the part of your code that you are having problem ...
without viewing the code and knowing what you specifically want it is difficult to help ...
I think he wants bot to mulligan properly, not during discover => if you have more than 1 secret in oppening hand, mulligan all but one (doesn't matter which one). I'm not sure if is it possible at all.
Meanwhile I have some other problem with my Hench-Clan Thug config for Rogue. I want bot to always attack with hero before attacking with Thug (obviously), so I've made sth like that:
"BeforePhysicalAttackBonus":
{
"values":
[
{
"comment":"Attack with hero first",
"condition": "my_hero(count(), tired = true) >0",
"value":"100",
},
{
"comment":"Attack with hero first",
"condition": "my_hero(count(), tired = false) >0",
"value":"-100",
},
],
},
but it doesn't work. Thug always attacks first and changing values have no influence on score when I'm checking it with debugger. Anyone knows what am I doing wrong?