For the autospells for skills, try to add triggers. Like, for the skill to cast, add long ranged attack. So that when snipers hit with them, it should cast since they're using range.
This one ---->
bonus5 bAutoSpell,x,y,n,t,i; n/10% chance to cast skill x of level y when attacking (supports skill names)
t: Trigger criteria:
BF_SHORT: Trigger on melee attack
BF_LONG: Trigger on ranged attack
( Default: BF_SHORT+BF_LONG )
BF_WEAPON: Trigger on weapon skills
BF_MAGIC: Trigger on magic skills
BF_MISC: Trigger on misc skills
( Default: BF_WEAPON )
BF_NORMAL: Trigger on normal
attacks.
BF_SKILL: Trigger on skills
(Default: BF_SKILL if type is BF_MISC or BF_MAGIC, BF_NORMAL if type is BF_WEAPON)
i:
0=cast on self
1=cast on enemy, not on self
2=use random skill lv in [1..y]
3=1+2 (random lv on enemy)