Hey guys, I'm having some trouble with my primalfin lookout discover file, it looks like this, can someone help me figure out what is wrong?
It does not choose the one with the highest value
{
"GameCardId":"UNG_937",
"ConfigComment":"Primalfin Lookout discover bonus",
"OnDiscoverCardBonus":
{
"values":
[
{
"comment":"choose Murloc Warleader (EX1_507)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=EX1_507) > 0 ",
"value":"18",
}
,
{
"comment":"choose Primalfin Lookout (UNG_937)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=UNG_937) > 0 ",
"value":"17",
}
,
{
"comment":"choose Finja, the Flying Star (CFM_344)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=CFM_344) > 0 ",
"value":"16",
}
,
{
"comment":"choose Coldlight Oracle (EX1_050)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=EX1_050) > 0 ",
"value":"15",
}
,
{
"comment":"choose Coldlight Seer (EX1_103)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=EX1_103) > 0 ",
"value":"14",
}
,
{
"comment":"choose Corrupted Seer (OG_161)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=OG_161) > 0 ",
"value":"13",
}
,
{
"comment":"choose Rockpool Hunter (UNG_073)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=UNG_073) > 0 ",
"value":"12",
}
,
{
"comment":"choose Hydrologist (UNG_011)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=UNG_011) > 0 ",
"value":"11",
}
,
{
"comment":"choose Vilefin Inquisitor (OG_006)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=OG_006) > 0 ",
"value":"10",
}
,
{
"comment":"choose Murloc Tidehunter (EX1_506)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=EX1_506) > 0 ",
"value":"9",
}
,
{
"comment":"choose Bilefin Tidehunter (OG_156)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=OG_156) > 0 ",
"value":"8",
}
,
{
"comment":"choose Blowgill Sniper (CFM_647)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=CFM_647) > 0 ",
"value":"7",
}
,
{
"comment":"choose Bluegill Warrior (CS2_173)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=CS2_173) > 0 ",
"value":"6",
}
,
{
"comment":"choose Murloc Tidecaller (EX1_509)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=EX1_509) > 0 ",
"value":"5",
}
,
{
"comment":"choose Grimescale Oracle (EX1_508)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=EX1_508) > 0 ",
"value":"4",
}
,
{
"comment":"choose Grimscale Chum (CFM_650)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=CFM_650) > 0 ",
"value":"3",
}
,
{
"comment":"choose Murloc Raider (CS2_168)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=CS2_168) > 0 ",
"value":"2",
}
,
{
"comment":"choose Primalfin Champion (UNG_953)",
"condition": "my_hero(count(),paladin) > 0 AND my_discover(count(),cardid=UNG_953) > 0 ",
"value":"1",
}
],
},
}