I'm trying to create a class specific mulligan ... but it's not working ...
Can anyone help?
{
"GameCardId": "Mulligan",
"ConfigComment": "These are the Mulligan rules.",
"Mulligan":
{
"values":
[
{
"comment": "Always keep in hand...
Eternium Rover,
Town Crier,
Frightened Flunky",
"mulligan": "BOT_509,
GIL_508,
UDL_195",
"condition": "*",
"value": "hold",
},
{
"comment": "If opponent is DRUID hold...
Warpath",
"mulligan": "GIL_654",
"condition": "opp_hero(count(), hero_class = druid) > 0",
"value": "hold",
},
{
"comment": "If opponent is MAGE hold...
Brawl,
Supercollider",
"mulligan": "EX1_407,
BOT_406",
"condition": "opp_hero(count(), hero_class = mage) > 0",
"value": "hold",
},
{
"comment": "If opponent is SHAMAN hold...
Warpath,
Dr. Boom, Mad Genius",
"mulligan": "GIL_654,
BOT_238",
"condition": "opp_hero(count(), hero_class = shaman) > 0",
"value": "hold",
},
{
"comment": "If opponent is WARLOCK hold...
Warpath,
Brawl",
"mulligan": "GIL_654,
EX1_407",
"condition": "opp_hero(count(), hero_class = warlock) > 0",
"value": "hold",
},
{
"comment": "If opponent is WARRIOR hold...
Dr. Boom, Mad Genius",
"mulligan": "BOT_238",
"condition": "opp_hero(count(), hero_class = warrior) > 0",
"value": "hold",
},
{
"comment": "discard all cards not listed as hold",
"mulligan": "*",
"condition": "*",
"value": "discard",
}
],
},
}