Rank: Advanced Member Groups: Registered
Posts: 32
Thanks: 3 times Was thanked: 4 time(s) in 4 post(s)
|
Code:
{
"GameCardId":"Mulligan",
"ConfigComment":"This is mulligan rules file.",
"Mulligan":
{
"values":
[
{
"comment": "Hold Tunnel Trogg, Jade Claws, Totem Golem, Brann Bronzebeard",
"mulligan":"LOE_018,CFM_717,AT_052,LOE_077",
"condition": "my_hero(count(),shaman) > 0",
"value":"hold",
}
,
{
"comment": "discard all cards not listed as hold",
"mulligan":"*",
"condition": "my_hero(count(),shaman) > 0",
"value":"discard",
}
],
},
}
I have a mulligan rule like this for the new Vision AI, but the bot always holds just the first card from the enumerated cards. For example if I have a Tunnel Trogg and Jade Claws in hand, it will keep only the Tunnel Trogg. If I have Jade Claws and Totem Golem, it keeps only the Jade Claws. And so on. I tried something similar with discarding too, and the behavior was the same. Am I doing something wrong, or what is the issue?
|