Page 1 of 1

Autoattack

Posted: Thu May 02, 2019 10:16 am
by Ememjr
does anyone know what triggers autoattack in our code,

i know when i attack it does turn on autoattack but i cannot turn it off it just turns off at the end of combat

it should look at the option set in the client as to whether its autoattack or forced
the way it supposed to work is
autoattack off
ie if you attack with melee you click the attack button every time you push the button
auto attack on
when you attack with melee click the button once you continously attack, press again and you start attacking again

this is important as there are instances on live where fighters can do melee damage for a period of time (during a specific detrimate)
also makes it easier to test spells and procs

Re: Autoattack

Posted: Thu May 02, 2019 3:08 pm
by Jabantiz
I believe it is an opcode that is sent when you hit the key for auto attack

Re: Autoattack

Posted: Thu May 02, 2019 4:03 pm
by Ememjr
ok next ? do you know if we are doing anything with options set in the client yet

oh yes we are for some , they are stored in character details under flags which is beign quirky right now

i will have to check a collect while switching Auto Attack MOde to see if it is changing the flag or if it is its own itm to store

Re: Autoattack

Posted: Thu May 02, 2019 4:53 pm
by Jabantiz
As far as I know we just toggle the type of auto attack that was activated (melee or ranged)

Re: Autoattack

Posted: Thu May 02, 2019 5:45 pm
by Ememjr
my autoattack button was not working but i fixed it , forgot to change the flags back after testing on charactersheet

is for the options it does not look like we handle the autoattacking type specifivally yet in code but it appears it client handles that with the same flags we are using, i will add that to the list of things that need fixed or updated