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

Notification

Icon
Error

OnDiscoverCardBonus question
r4nd0m
#1 Posted : Saturday, May 20, 2017 2:21:41 AM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 47

Thanks: 2 times
Was thanked: 8 time(s) in 6 post(s)
Greetings!

I'm trying to make a modification to how one of my cards plays.

It's the "Mire Keeper(OG_202) : [x]Choose One - Summon a 2/2 Slime; or Gain an empty Mana Crystal."

basically, i wan't the bot to play this earlier in the game, & choose the mana crystal (YOGG-SARON'S MAGIC(OG_202b)) as long as i have less than 6 mana.

right now i'm using this, but it's still not working quite right.
Quote:
{
"GameCardId":"OG_202",
"ConfigComment":"Mire Keeper : [x]Choose One - Summon a 2/2 Slime; or Gain an empty Mana Crystal.",

"OnDiscoverCardBonus":
{
"values":
[
{
"comment":"choose YOGG-SARON'S MAGIC(OG_202b) ",
"condition": "my_hero(count(),druid) > 0 AND my_discover(count(),cardid=OG_202b) > 0 ",
"value":"9",
}
,
{
"comment":"choose Y'Shaarj's Strength(OG_202a) ",
"condition": "my_hero(count(),druid) > 0 AND my_discover(count(),cardid=OG_202a) > 0 ",
"value":"8",
}
],
},
}


Any suggestions?
JoyAdmin
#2 Posted : Saturday, May 20, 2017 3:21:42 AM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,881

Thanks: 808 times
Was thanked: 4545 time(s) in 1642 post(s)
Sorry for lack of document to explain OnChooseOneCardBonus, it needs a small patch and will be explained how to use it in next update.

JoyAdmin
#3 Posted : Sunday, May 21, 2017 1:29:36 PM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,881

Thanks: 808 times
Was thanked: 4545 time(s) in 1642 post(s)
v.9.5.5.0 has fixed this issue and updated the document, check it to:

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.083 seconds.