I can't seem to find where or how exactly a defense building comes I to play. For example if you are 300K defense and a player with 300k attack could be considered a draw, but on a raid if there is a building protected with a level 1 guard tower with a defense of 2 (all boosts not included just basics). Would that mean that your base is protected by your raw stats and a +1 increase by the tower? Or how is base defense calculated exactly. If a player with 350K attack stats tries to raid a base of a player with 300K defense but the building is protected by a defensive building, how would you be able to determine the stats of the protected area as some buildings have a defense built in.
Or another example if two rai guns over lap is the defense still just 75 or is that a combined defense of 150? Is the defense value a percentage or an actual number where if you were 300K and added a rail gun your defense is now 300,075?
Thanks for the help.