Politics and Intelligence have nothing to do with battle. You need Attack for your warfare hero and Politics/intellegence for your Castellan.
Politics increases resource production and Intellegence increases defense. The number for those two is a %. If ]your castellan has 74politics and 43 Intelligence, then your defense will be increased by 43% and your base resource production is increased by 74%.