Defense points helps to reduce damage taken from Raids.


Damage taken is calculated as Raid Attack - (Your Level + Defense) for every Energy point spent, so if you hit with 20 Energy Button its  (Raid Attack - (Your Level + Defense)) * 20