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

Notification

Icon
Error

Need a little help understanding config parameters
tullkuk
#1 Posted : Friday, July 8, 2022 11:51:34 AM(UTC)
Rank: Newbie

Groups: Registered
Posts: 8

Thanks: 5 times
Hello

I made my fist config but its not doing what i want. Im having some issues with how to write the parameters and what parameters to use.

Problems
- Bot prioritise opponent hero instead of clearing minions with heroweapon
- Bot fills the board with minions even if opponent cant respond and seems to be waiting for clearing spells like flamestrike


In this one i tried making my hero only attack minion if its health and attack was equal or less than my heroweapon, but the bot gives me an error

Quote:
{
"comment":"test",
"condition": "my_target(count(), minion=true)>0 AND my_target(count(), health <=my_heroweapon(count(),attack)) AND my_target(count(), attack <= my_heroweapon(count(),attack))",
"value":"5",
},


Im trying to limit the amount of minions the bot plays to avoid loosing all minions if enemy use spells like flamestrike to wipe my board, but i dont know what conditions and parameters to use and where to put them

Maybe something like

Quote:
"condition": "my_minions(count()) >=4 AND opp_minions(count(() <4",
"value":"-100",



Maybe theres a better solution that i havent thought about or some other way to write this, any help is much appreciated
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.028 seconds.