Most castles re-supply if you do specific quest for them - dwarven king : after you free his son, Elven princess, after you defeat Korador, The castle where the magic academy is : 1. after first barbarian peace sign, 2. after second barbarian pease sign (I choose fight instead second peace sign

)