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

Notification

Icon
Error

Trying to understand "values"
footsat
#1 Posted : Friday, June 23, 2017 4:51:07 PM(UTC)
Rank: Newbie

Groups: Registered
Posts: 2
Location: france

Thanks: 4 times
In the tutorial,
Here is code example for combos :


Combo.json

{
"GameCardId":"Combo",
"ConfigComment":"This is the combo config file.",

"ComboList":
{
"values":
[
{
"comment":"Arcanite Reaper --> Bloodsail Raider",
"condition": "*",
"combo":"CS2_112 >> NEW1_018",
"value":"15 >> 10",
},
{
"comment":" turn 1: Dark Wispers , turn 2: Savage Roar",
"condition": "*",
"combo":"GVG_041 >-> CS2_011",
"value":"20 >-> 30",
},

],
},
}

Someone can explain me how to find "15 >> 10" and "20 >-> 30" values ?
JoyAdmin
#2 Posted : Saturday, June 24, 2017 1:29:35 AM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,847

Thanks: 805 times
Was thanked: 4539 time(s) in 1637 post(s)
These values are defined by yourself.

{
"comment":"Arcanite Reaper --> Bloodsail Raider",
"condition": "*",
"combo":"CS2_112 >> NEW1_018",
"value":"15 >> 10",
},

If bot plays 'Arcanite Reaper', then plays 'Bloodsail Raider' in one turn, this action chain gets total 15+10 = 25 bonus.

If bot plays 'Arcanite Reaper', but 'Bloodsail Raider' is not in hand or no enough mana to be played, then bot gets -15 bonus value (penalty) from this action.

If bot plays 'Bloodsail Raider', then plays 'Arcanite Reaper' in one turn, it's the wrong order, bot gets total -(15+10) = -25 bonus (penalty) from the action chain.

In bot play review debugger, proper value can be set by observing the difference between different searched nodes.



1 user thanked JoyAdmin for this useful post.
footsat on 6/24/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.047 seconds.