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

Notification

Icon
Error

Vicious fledgling
Jumpit99
#1 Posted : Sunday, May 6, 2018 9:00:49 AM(UTC)
Rank: Newbie

Groups: Registered
Posts: 5

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
I have done this config for vicious but it doesn't follow the adaptation list:

{
"GameCardId":"UNG_075",
"ConfigComment":"order to choose vicious adaptation",

"OnAdaptCardBonus":
{
"values":
[
{
"condition":"my_discover(count(),cardid=UNG_999t7)>0",
"value":"100",
},
{
"condition":"my_discover(count(),cardid=UNG_999t10)>0",
"value":"90",
},
{
"condition":"my_discover(count(),cardid=UNG_999t8)>0",
"value":"80",
},
{
"condition":"my_discover(count(),cardid=UNG_999t4)>0",
"value":"70",
},
{
"condition":"my_discover(count(),cardid=UNG_999t5)>0",
"value":"60",
},
{
"condition":"my_discover(count(),cardid=UNG_999t14)>0",
"value":"50",
},
{
"condition":"my_discover(count(),cardid=UNG_999t3)>0",
"value":"40",
},
{
"condition":"my_discover(count(),cardid=UNG_999t2)>0",
"value":"30",
},
{
"condition":"my_discover(count(),cardid=UNG_999t13)>0",
"value":"20",
},
{
"condition":"my_discover(count(),cardid=UNG_999t6)>0",
"value":"10",
},

]
},


"OnBoardBonus":
{
"values":
[
{
"condition":"opp_minions(count())<1",
"value":"20",
},
{
"condition":"opp_minions(sum(attack))>2",
"value":"-10",
}
]

},

"BeforePhysicalAttackBonus":
{
"values":
[
{
"condition":"my_target(count(),hero=true)>0 AND my_minions(count(),cardid=UNG_075,silenced=true)==0",
"value":"20",
}
]
}
}

anybody knows why?
zws
#2 Posted : Sunday, May 6, 2018 11:23:13 AM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 64
Location: pl

Thanks: 16 times
Was thanked: 25 time(s) in 20 post(s)
I think discover configuration does not work at all which is hard to report since hearthranger debugger doesn't show discovers. Perhaps JoyAdmin could add some way of debugging discovery?
JoyAdmin
#3 Posted : Sunday, May 6, 2018 12:52:12 PM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,881

Thanks: 808 times
Was thanked: 4545 time(s) in 1642 post(s)
Because discover/adapt has already been set high value in internal logic, you need to set a much higher value and value gap among them to overwrite internal value.

Example

"OnAdaptCardBonus":
{
"values":
[
{
"condition":"my_discover(count(),cardid=UNG_999t7)>0",
"value":"1000",
},
{
"condition":"my_discover(count(),cardid=UNG_999t10)>0",
"value":"9000",
},
{
"condition":"my_discover(count(),cardid=UNG_999t8)>0",
"value":"8000",
},
{
"condition":"my_discover(count(),cardid=UNG_999t4)>0",
"value":"7000",
},
{
"condition":"my_discover(count(),cardid=UNG_999t5)>0",
"value":"6000",
},
{
"condition":"my_discover(count(),cardid=UNG_999t14)>0",
"value":"5000",
},
{
"condition":"my_discover(count(),cardid=UNG_999t3)>0",
"value":"4000",
},
{
"condition":"my_discover(count(),cardid=UNG_999t2)>0",
"value":"3000",
},
{
"condition":"my_discover(count(),cardid=UNG_999t13)>0",
"value":"2000",
},
{
"condition":"my_discover(count(),cardid=UNG_999t6)>0",
"value":"1000",
},

]
},

Such value is only evaluated during adapt options, it won't affect normal board value.



2 users thanked JoyAdmin for this useful post.
zws on 5/7/2018(UTC), Jumpit99 on 5/23/2018(UTC)
zws
#4 Posted : Monday, May 7, 2018 4:44:59 AM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 64
Location: pl

Thanks: 16 times
Was thanked: 25 time(s) in 20 post(s)
I see, thanks. This explains why I had trouble getting my discover configs to work.
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.274 seconds.