My Amazon has 2 weapon slot, one for spear and two for bows, the script always make the first slot is a primary. I config the timed skill for bosses is Ice Arrow. But she won’t change to slot number 2 for her bow and always run into the boss but do nothing.
Anyone knows how to detect the unavailable skill like that? I need this to make a slot changing condition
I encountered this issue, too. I assumed hybrid builds such as these were simply unsupported for botting. I’d be interested to hear if there is a work around, though.
There is a work around that worked for me. But it must be specific for each class as it requires to edit some code at \common\Attack<Class>.
I did achieve it for my Barbarian with duel skills.
can do something like:
- Make a bow skills array variable (at somewhere you can access it): bowOnlySkills: [6, 7, 11, 12, 16, 21, 22, 26, 27, 31] // List of all bow-only skills.
- In your “doAttack” or “doCast”, check if your timed or untimed skill is a bow-only skill or not by using “indexOf” function from “bowOnlySkills”.
F.Y.I: You can use “Attack.weaponSwitch()” for changing the slot instantly, and it will change to primary slot again right after done attacking. Make sure you change to valid slot with a bow or crossbow.
1 Like