Can you control just gaining resistance from ranged attacks, for example?
Sorta, but not 100%. Are you referring specifically to Testudo? in Testudo they get +3 pierce, +1 H/C resistance but move 40% slower.... The main issue right now is pierce is both a ranged and melee attack. I'm not sure if you can do pierce from ranged only, would need to talk to Steven about that.
We also have a charge attack, raider and shock
They do what the github says they do
Charge - Charge the enemy and do intiial +10 Crush and 2.5 Hack/Pierce dmg but lose 1 of each resistance while charging
Shock - Gain 15% walk speed and 20% accleration
Raiders - Raiders 20% faster walk speed and +0.5 capture attack but 5% slower run speed
I don’t know if he had to do anything in the background. But check out the formation templates. I was able to do it there. It took a while to figure out speed. I can explain more later
But @stevenlauis the real hero.