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

Notification

Icon
Error

2 Pages<12
Learn Mulligan + configs = better results
bot4notime6
#21 Posted : Tuesday, April 23, 2019 12:12:20 AM(UTC)
Rank: Newbie

Groups: Registered
Posts: 2

Axion;58683 wrote:
In the muligan you decide the cards you want in the initial hand ...
If two of you come from the same you can decide if you want to keep the two or only 1. Example:

{
"comment": "Hold The Forest's Aid if warrior class.",
"mulligan": "CS2_011, --> Here you only have one
                 "CS2_011 +" CS2_011 ", --> So you decide that the two remain in your hand
"condition": "opp_hero (count (), hero_class = warrior)> 0",
"value": "hold",
},


Thanks for the explanation, but I wasn't clear enough about the code I need (my bad).

I'm using a secret paladin and I need a code to hold only one (any would do) secret.

Let's say the bot goes first and needs to choose among three different secrets... how can I code it to hold only one of them and mulligan the rest?

Thanks again in advance :-)

Axion
#22 Posted : Tuesday, April 23, 2019 1:43:16 AM(UTC)
Axion


Rank: Advanced Member

Groups: Registered
Posts: 77
Man
Location: In my house

Thanks: 4 times
Was thanked: 86 time(s) in 24 post(s)
bot4notime6;58685 wrote:
Thanks for the explanation, but I wasn't clear enough about the code I need (my bad).

I'm using a secret paladin and I need a code to hold only one (any would do) secret.

Let's say the bot goes first and needs to choose among three different secrets... how can I code it to hold only one of them and mulligan the rest?

Thanks again in advance :-)




Let's see if I understand ...

Do you want the bot to make a specific choice when you discover a secret?

put the part of your code that you are having problem ...
without viewing the code and knowing what you specifically want it is difficult to help ...
Nataniel88
#23 Posted : Monday, May 20, 2019 10:37:18 AM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 87

Thanks: 5 times
Was thanked: 27 time(s) in 13 post(s)
Axion;58686 wrote:
Let's see if I understand ...

Do you want the bot to make a specific choice when you discover a secret?

put the part of your code that you are having problem ...
without viewing the code and knowing what you specifically want it is difficult to help ...

I think he wants bot to mulligan properly, not during discover => if you have more than 1 secret in oppening hand, mulligan all but one (doesn't matter which one). I'm not sure if is it possible at all.



Meanwhile I have some other problem with my Hench-Clan Thug config for Rogue. I want bot to always attack with hero before attacking with Thug (obviously), so I've made sth like that:

"BeforePhysicalAttackBonus":
{
"values":
[
{
"comment":"Attack with hero first",

"condition": "my_hero(count(), tired = true) >0",

"value":"100",
},
{
"comment":"Attack with hero first",

"condition": "my_hero(count(), tired = false) >0",

"value":"-100",
},
],
},

but it doesn't work. Thug always attacks first and changing values have no influence on score when I'm checking it with debugger. Anyone knows what am I doing wrong?
2 Pages<12
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.057 seconds.