Jump to content

Can't get Hunter to use Ranged Attack


NiteKat

Recommended Posts

New user here, was playing around with the Fight Class editor that is built in, and I cannot find a way to make a Hunter stay at range and use their gun or bow. Is that only possible via a C# fight class? I tried making Auto Shoot a defined spell, and explicitly setting the move while casting to false, but I still get the same result of the Hunter running up to the enemies and never once firing their ranged weapon.,

Link to comment
Share on other sites

Thank you, this sort of solved my problem. I had tried it before, but only to 8. Now if I set it to 28, the Hunter will stop at a decent distance... but if won't shot. Just stands there waiting for the mob. If I try using Auto Shoot as a spell, it *keeps* casting it, interrupting the attack, so a shot never gets off. I'm assuming I need to check if it's being used already, but I'm not sure what Auto Shoot is considered as (I'm guessing it isn't a buff?).

Link to comment
Share on other sites

3 hours ago, NiteKat said:

Thank you, this sort of solved my problem. I had tried it before, but only to 8. Now if I set it to 28, the Hunter will stop at a decent distance... but if won't shot. Just stands there waiting for the mob. If I try using Auto Shoot as a spell, it *keeps* casting it, interrupting the attack, so a shot never gets off. I'm assuming I need to check if it's being used already, but I'm not sure what Auto Shoot is considered as (I'm guessing it isn't a buff?).

thats because the FC is trying to use a skill outside of the range... put the Me.target.distance setting to = your rage (in yds) and it should stop shuddering and just go to ur FC range and start attacking.

 

you may set a range in your FC... however the way wrobot works is if u have a target outside range.. it will start tying spells.  Sometimes its good like hunters mark / pet attack, sometimes bad like what you are seeing.  All part of optimising a FC.

 

 

Edited by eeny
Link to comment
Share on other sites

Ahh okay. I'll have to try to play around with that then... C# might be easier to work with than the XML making tool. I'm a C++ programmer, but looking through the eeny examples that came with the bot, the C# syntax isn't too hard to grasp. And I've been able to use these with slight modifications to, for example, make a Priest that heals/buffs party members and such. Some things just feel really finicky with the editor, but that's probably just my being new with it. ?

Link to comment
Share on other sites

7 minutes ago, NiteKat said:

Ahh okay. I'll have to try to play around with that then... C# might be easier to work with than the XML making tool. I'm a C++ programmer, but looking through the eeny examples that came with the bot, the C# syntax isn't too hard to grasp. And I've been able to use these with slight modifications to, for example, make a Priest that heals/buffs party members and such. Some things just feel really finicky with the editor, but that's probably just my being new with it. ?

Some nameing of conditions are confusing too in the Fightclass Editor in my opinion.
if you are expierenced with programming you better go with developing it in a IDE immediatley.

Helpful threads,

 

 
Or join the wRobot discord their is a Developer channel where you get quick help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...