I've read that high-defence settlements (where the defence rating is higher than the combined food & water value) will not be attacked. Elsewhere, I have read that even high defence settlements can occasionally be attacked. Which is true? What is the maths/algorithm behind the chance of a settlement being attacked?
I think it would be a shame to create a very high defence settlement, armed to the teeth, if it were never going to be attacked so that you could witness those defences in action.
Best Answer
Yes, they can be attacked.
There's a reddit thread where this is discussed, including a formula. The thread is 4 months old, so it's possible this has been tweaked in a patch since then.
I've copied over the formula for raid chance and associated notes, with some formatting improvements:
So the chance of attack is always at least 2% per day (unless it's already been attacked in the last week or there are no settlers), but it's not hard to get it that low.