@Pasterke
It's much more complicated than that.
If you take into account Party, WRotation, Grinder, Quester, etc. logics it just can't be done that way : how do you manage the cases:
where you start combat at close combat and then it goes to range combat, whatever your level is?
where you're out of mana ?
And range is already fixed at 35 in my figh class
Furthermore, in Grinder for exemple Serpent Sting does trigger Auto Shot but it is immediatly overriden by Attack command which is spammed by the Grind bot
@MacPod I didn't test my fight classes against Grinder nor Quester yet.
I'm actually working on it, but it's gonna be a bit tougher since Grinder bot spams Attack command .... I strongly believe it's because the bot is faulty on Hunter Attack. It can't detect, in C# if it is triggered or not.