Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Mulligan doesn't work
Shadesun
#1 Posted : Saturday, August 17, 2019 11:19:55 PM(UTC)
Rank: Newbie

Groups: Registered
Posts: 2

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",
}
],
},
}
JoyAdmin
#2 Posted : Sunday, August 18, 2019 8:06:53 AM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,845

Thanks: 805 times
Was thanked: 4538 time(s) in 1636 post(s)
Please test it in visual debugger.

Click [D] button on the toolbar .
DisturbedBot
#3 Posted : Tuesday, August 27, 2019 12:06:16 AM(UTC)
Rank: Member

Groups: Registered
Posts: 15

Thanks: 2 times
Was thanked: 5 time(s) in 4 post(s)
When you say not working, did you mean that the bot said there's an error loading the mulligan? (you can check error message on the bot main screen)
Or did you mean that you watched the bot play and the mulligan does not seems to influence the bot decision as intended? (You would need to provide what the mulligan the bot received, which card it chosen to hold and which one it discarded, and also why the action shows the mulligan code not working)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.077 seconds.