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

Notification

Icon
Error

Difference between BeforePlayCardBonus and InHandPlayPriority
effy777
#1 Posted : Thursday, December 3, 2020 2:07:26 PM(UTC)
Rank: Newbie

Groups: Registered
Posts: 9

Was thanked: 1 time(s) in 1 post(s)
It seems to me that these two are the same, they both determine what card should be played, are there any differences between these two options?
dutchpowner
#2 Posted : Friday, December 4, 2020 11:00:14 AM(UTC)
dutchpowner


Rank: Advanced Member

Groups: Registered
Posts: 109
Location: Netherlands

Thanks: 7 times
Was thanked: 115 time(s) in 25 post(s)
I think that "BeforePlayCardBonus, (set a card's bonus before it's going to be played.)" just provides a bonus to a certain play whenever certain criteria are met, the bot is more likely to play this card due to the increase in value.

"InHandBonus, (set a card's bonus if it's inhand)" just gives value to keeping a certain card in your hand, so a bonus is given when the card is kept in your hand instead of using it.

Here you can find a not so great explanation:
http://www.hearthranger.com/onl...derstand_json_config.htm

Don't forget to use the thank you button on my first post in the dutchpowner's Meta Decks for Vision AI topic :))

effy777
#3 Posted : Friday, December 4, 2020 3:41:06 PM(UTC)
Rank: Newbie

Groups: Registered
Posts: 9

Was thanked: 1 time(s) in 1 post(s)
dutchpowner;60905 wrote:
I think that "BeforePlayCardBonus, (set a card's bonus before it's going to be played.)" just provides a bonus to a certain play whenever certain criteria are met, the bot is more likely to play this card due to the increase in value.

"InHandBonus, (set a card's bonus if it's inhand)" just gives value to keeping a certain card in your hand, so a bonus is given when the card is kept in your hand instead of using it.

Here you can find a not so great explanation:
http://www.hearthranger.com/onl...derstand_json_config.htm



Ah I see, so "InHandBonus" is more likely to be used for a card like Leeroy I guess, I wish there was a more clear documentation provided, as the one on the forum is poorly documented.
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.059 seconds.