Post Friday, 10th August 2012, 20:09

Question about autofight

So, I noticed that autofight breaks when I disable vi command keys. I usually like to disable them because I might hit them by accident and move somewhere I don't want to move to.

So I made an edit to the no vi keys option file where I changed the uppercase HJKLYUBM to correspond to the movement keys, then changed the lowercase keys in autofight.lua to uppercase ones in the beginning of the script. Now autofight works otherwise except it breaks when I try to use it to attack from afar with reaching.

I'm not familiar with LUA at all so I'd appreciate some help to get it working.