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

Notification

Icon
Error

Best move
Jumpit99
#1 Posted : Monday, March 12, 2018 1:52:04 PM(UTC)
Rank: Newbie

Groups: Registered
Posts: 5

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
I was wondering why does the bot choose to end turn while other move got more points?

- - - - - - - - - - - - - -
17:46:59:INFO::----NODE PATH---- 0
17:46:59:INFO::-- ROOT NODE -- (value= -18,89999*1 + 0*0 = -18,89999)
17:46:59:INFO::
17:46:59:INFO::
17:46:59:INFO::----NODE PATH---- 1
17:46:59:INFO::-- ROOT NODE -- (value= -18,89999*1 + 0*0 = -18,89999)
17:46:59:INFO::(value= -19,45999*1 + 0*0 = -19,45999) as:Summon Panther Power of the Wild [0|0|2]
17:46:59:INFO::
17:46:59:INFO::
17:46:59:INFO::----NODE PATH---- 2
17:46:59:INFO::-- ROOT NODE -- (value= -18,89999*1 + 0*0 = -18,89999)
17:46:59:INFO::(value= -22,34*1 + 0*0 = -22,34) as:+1/+1 Power of the Wild [0|0|2]
17:46:59:INFO::
17:46:59:INFO::
17:46:59:INFO::----NODE PATH---- 3
17:46:59:INFO::-- ROOT NODE -- (value= -18,89999*1 + 0*0 = -18,89999)
17:46:59:INFO::(value= -19,45999*1 + 0*0 = -19,45999) as:Summon Panther Power of the Wild [0|0|2]
17:46:59:INFO::....(value= -30,77*1 + 0*0 = -30,77) Bittertide Hydra [8|8|5] -> Mirror Image [0|-6|0]
17:46:59:INFO::........(value= -25,96*1 + 0*0 = -25,96) Malfurion Stormrage [1|15|0] -> Jaina Proudmoore [0|15|0]
17:46:59:INFO::
17:46:59:INFO::

also why are points negative? what is the root node value? and what is the finale value of each move?
JoyAdmin
#2 Posted : Tuesday, March 13, 2018 1:23:16 AM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,845

Thanks: 805 times
Was thanked: 4538 time(s) in 1636 post(s)
NODE 0 's value -18,89999 > NODE 1's value -19,45999.

Each path's last node value is the final board value.

Please read our FAQ to know more about vision a.i.



Jumpit99
#3 Posted : Tuesday, March 13, 2018 9:06:01 AM(UTC)
Rank: Newbie

Groups: Registered
Posts: 5

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Ok,thank you.
Does a way to change global values depending on the opponent class exist?

What would happen if i wrote this in the custom config?

"OppGlobalHeroHealth":
{
"values":
[
{
"condition": "opp_hero(count(),hero_class = hunter | paladin)>0 ",
"value":"1.1",
}
],
},

and in another file:

"OppGlobalHeroHealth":
{
"values":
[
{
"condition": "*",
"value":"0.81+2",
}
],
},

would it get error? or it would set the OppGloalHeroHealth to 0.81+2 if the enemy isn't a paladin or a hunter?
JoyAdmin
#4 Posted : Tuesday, March 13, 2018 11:56:13 AM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,845

Thanks: 805 times
Was thanked: 4538 time(s) in 1636 post(s)
Your own custom GlobalValues.json will overwrite default [GlobalValues.json]'s corresponding values.

More details:

http://www.hearthranger....omize_global_values.htm

Jumpit99
#5 Posted : Tuesday, March 13, 2018 3:07:17 PM(UTC)
Rank: Newbie

Groups: Registered
Posts: 5

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Thank you, but i was asking if there was a way to set these values depending on your opponent's class,

for example,

if you are against a paladin, kill his minions before hitting face,

if you are against, a warlock allways go face.
JoyAdmin
#6 Posted : Tuesday, March 13, 2018 11:03:17 PM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,845

Thanks: 805 times
Was thanked: 4538 time(s) in 1636 post(s)
Of course you can set various conditions to achieve that.

Here is how to write correct .json file:

http://www.hearthranger....derstand_json_config.htm
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.073 seconds.