improve rotations, fix caster auto-attack formula