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

Notification

Icon
Error

more questions about mulligan
Thagann
#1 Posted : Wednesday, April 19, 2017 10:24:33 AM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 80

Thanks: 6 times
Was thanked: 16 time(s) in 12 post(s)
I wanted to ask a question that wasn't addressed on your basic tutorial ,

we have 2 similar mulligan rules :

{
"comment": "hold Southsea Captain (NEW1_027) if you start second",
"mulligan":"NEW1_027",
"condition": "coin",
"value":"hold",
}
,
{
"comment": "hold Frothing Berserker(EX1_604) if you start second and you don't have Southsea Captain",
"mulligan":"EX1_604",
"condition": "coin AND my_hand(count(), cardid=NEW1_027) == 0",
"value":"hold",
}

can we unify them like this? :

{
"comment": "hold Southsea Captain (NEW1_027) if you start second otherwise keep frothing berserker if possible",
"mulligan":"NEW1_027|EX1_604",
"condition": "coin",
"value":"hold",
}
JoyAdmin
#2 Posted : Wednesday, April 19, 2017 11:20:07 AM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,847

Thanks: 805 times
Was thanked: 4539 time(s) in 1637 post(s)
no, in mulligan syntax, there is no '|' operator, "NEW1_027, EX1_604" is valid, which means NEW1_027 or EX1_604.

Please read through the help file, it's the start line.
Thagann
#3 Posted : Wednesday, April 19, 2017 11:41:40 AM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 80

Thanks: 6 times
Was thanked: 16 time(s) in 12 post(s)
JoyAdmin;48186 wrote:
no, in mulligan syntax, there is no '|' operator, "NEW1_027, EX1_604" is valid, which means NEW1_027 or EX1_604.

Please read through the help file, it's the start line.


but this would means that if I have the coin the bot would keep them both , when I wanted the bot to keep one or the other
JoyAdmin
#4 Posted : Wednesday, April 19, 2017 11:45:25 AM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,847

Thanks: 805 times
Was thanked: 4539 time(s) in 1637 post(s)
Before vision a.i. support '|' in mulligan rules, the work around is to separate it into two rules.

We'll try to add such support in the future.
1 user thanked JoyAdmin for this useful post.
Thagann on 4/19/2017(UTC)
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.049 seconds.