GothicSlim;22876 wrote:Sry sry i think to write a bot is hard enough and i realy try to learn so fast i can but i have now try over the Debug Mode add a rule to the Deck rule control. This is the Rule:
Imp-losion 100 CAST AND TARGET one of enemy minions with $health <=4
So this mean if the enemy has a minion with 4 life or less the bot should use imp-losion. But he will use life tap. Why?
I have make a screen but i have only reduce internet and the upload will take a hour atm -.-
That is a behaviour of default bot's AI. When you do a set of rules, this rules works as a filter for default AI.
That line means as you said, "Cast implosion if one of enemy minions has health 4 or less", but life tap has more priority.So you can rise the value, instead 100, maybe 200.
GothicSlim;22876 wrote:
Or here
Any Card 100 REPLACE IF this card itself with $cost>=3 //bot will replace all the cards with cost 5 or more
i have make the 5 to a 3. So why he dont replace Stoneskin Gargoyle with cost of 3?
Bot wouldn't keep cards with cost 3 or bigger with this line.
About your problem with dark bomb, my rules will work on decks which will control the battlefield destroying all opponent minions. If you try to use them with a rush/zoo deck (small minions to try to kill the enemy hero faster) my rules won't work.
I will add a line to interactions of darkbomb with drain life, so if you have both card in hand, the bot will kill the minion (or mybe you can add that line. Its very easy)
To start botting you don't need to do deck rules. You can use default ones (their works ok and do their function) or you can use silverfish included in the bot too.