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

Notification

Icon
Error

Disable Hero Power
phelon
#1 Posted : Tuesday, August 8, 2023 4:51:25 PM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 31

Thanks: 5 times
How do I disable the paladin hero power? Posted below is what I am using to try to block it, but it just ignores negative 10000, and plays one anyways.


{
"GameCardId":"HERO_04bp",
"ConfigComment":"Summon Recruit",
"BeforePlayCardBonus":
{
"values":
[
{
"comment":"Hero power has lowest priority as this a mech deck.",
"condition": "my_hand(count()) > 0",
"value":"-10000"
}
]
},
"BeforeUseHeroPowerBonus":
{
"values":
[
{
"comment":"Always use Order.",
"condition": "my_hand(count()) > 0",
"value":"-10000"
}
]
}
}
JoyAdmin
#2 Posted : Wednesday, August 9, 2023 11:56:58 AM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,848

Thanks: 805 times
Was thanked: 4539 time(s) in 1637 post(s)
It's a bit tricky to tune hero power value, you need to edit the following json file

CustomConfig\default\GlobalValues.json

change FirstTurnValueWeight to none zero value, so the first turn board value can be calculated into final result.
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.