Barspells change their formula above 300 skill. Under 300, you get 1 resistance for each 5 skill.
Over 300 it looks like 1 resistance for each 4 skill.
Data points:
487:146
428:132
425:131
423:130
All consistent with the proposed formula, which reduces to (Skill/4)+25 above 300.