I have a thorn build for DH that does not equip any skill at the left-click slot on the skill bar. I use melee weapon and when I play manually, I can perform melee attack. But when I use the bot, the bot does not attack and just runs around. So how can I make the bot attack? PS:just in case you are curious why I would use a thorn build for DH and want to use melee attack: 1.I only bot in Hardcore mod; 2.I disconnect a lot; So to be safe, I have a lot of damage mitigation that my HP is almost always >95% even if I am afk and surrounded by multiple elite packs (can only do T10 at most). And in case the Demonbuddy somehow has stopped, I still need to survive. So the safest build is thorn build. And I want it to be efficient too. When I play manually, I can kill Rift Guardian within 10sec ( only T10) with my DH thorn build. So I want the bot to use DH melee attack and also ignore trash mobs( I don't have aoe for DH thorn build). How do I do that?
You could try going into the default demon hunter routine code and change from if (TryPrimaryPower(out power)) return power; to if (TryPrimaryPower(out power)) { if (power != null) return power; else return DefaultPower; } Don't know if this works or not though. It's kinda odd that the bot doesn't attack already