| 
Rank: Newbie
 Groups: Registered
Posts: 2
 
 Thanks: 1 times
 | 
            
	      
                Hello, I'm struggeling to make a working mulligan file with Vision AI. I read the online help and it says the value order matters top to bottom. According to this, I believe that in both Mulligans both cards should be held.  But it always discards the one which hold value is on the top. Mulligan.json
 
 Code:
{
	"GameCardId":"Mulligan",
	"ConfigComment":"This is mulligan rules file.",
	"Mulligan":
	          {
						  "values":
						  [
								{
									"comment": "Hold Crackling Razormaw (UNG_912)",
									"mulligan":"UNG_912",
									"condition": "my_hero(count(),hunter) > 0",
									"value":"hold",
								}
								,
								{
									"comment": "Hold Jeweled Macaw (UNG_915)",
									"mulligan":"UNG_915",
									"condition": "my_hero(count(),hunter) > 0",
									"value":"hold",
								}
								,
								{
						  		        "comment": "discard all cards not listed as hold",
						  		        "mulligan":"*",
						  		        "condition": "my_hero(count(),hunter) > 0",
						  		        "value":"discard",
						  	        }
						  ],
		},
}
 Outcome:http://imgur.com/a/mkqeoMulligan.json
 
 Code:
{
	"GameCardId":"Mulligan",
	"ConfigComment":"This is mulligan rules file.",
	"Mulligan":
	          {
						  "values":
						  [
								{
									"comment": "Hold Jeweled Macaw (UNG_915)",
									"mulligan":"UNG_915",
									"condition": "my_hero(count(),hunter) > 0",
									"value":"hold",
								}
								,
								{
									"comment": "Hold Crackling Razormaw (UNG_912)",
									"mulligan":"UNG_912",
									"condition": "my_hero(count(),hunter) > 0",
									"value":"hold",
								}
								,
								{
						  		        "comment": "discard all cards not listed as hold",
						  		        "mulligan":"*",
						  		        "condition": "my_hero(count(),hunter) > 0",
						  		        "value":"discard",
						  	        }
						  ],
		},
}
 Outcome:http://imgur.com/a/GB50DMaybe i don't understand the whole concept and it would be nice if someone could help me understand :) (My actual unfinished Mulligan file below, maybe anyone has an idea how to make it work)
 
 Code:
{
	"GameCardId":"Mulligan",
	"ConfigComment":"This is mulligan rules file.",
	"Mulligan":
	          {
						  "values":
						  [
								{
								  "comment": "Hold Alleycat, Fiery Bat, Jeweled Macaw, Raptor Hatchling, Kindly Grandmother, Scavenging Hyena",
								  "mulligan":"CFM_315,OG_179,UNG_912,UNG_914,KAR_005,EX1_531",
								  "condition": "*",
								  "value":"hold",
								}
								,
								{
								  "comment": "Hold Crackling Razormaw, Dire Wolf Alpha if its the only 2 Drop in hand, or  there is already a 1 Drop in hand",
								  "mulligan":"UNG_915,EX1_162",
								  "condition": "my_hand(count(),cost=2)<=1 OR my_hand(count(),cost=1,beast=true)>=1",
								  "value":"hold",
								}
								,
								{
								  "comment": "Hold Crackling Razormaw, with coin and second 2 Drop",
								  "mulligan":"UNG_915",
								  "condition": "coin AND my_hand(count(),cost=2)>1",
								  "value":"hold",
								}
								,
								{
								  "comment": "Hold Animal Companion if there is a 1 or 2 Drop in hand",
								  "mulligan":"NEW1_031",
								  "condition": "my_hand(count(),cost=1)>=1 OR my_hand(count(),cost=2)>=1",
								  "value":"hold",
								}
								,
								{
						  		"comment": "discard all cards not listed as hold",
						  		"mulligan":"*",
						  		"condition": "my_hero(count(),hunter) > 0",
						  		"value":"discard",
						  	        }
						  ],
	         },
}
 |