Alright, I've been tinkering with the code (I do that a lot) and I think I need some help here.
From what I've gathered,
amotion = attack motion = time between attacks (in milliseconds)
dmotion = damage motion? = ?????
Is my interpretation of amotion correct? Does anyone know what is dmotion exactly and whether it's related with amotion in any way? If I change amotion, do I need to change dmotion as well?
Update: Success!
(But I still don't know what dmotion does exactly.)