The magic and physic resist of heroes are applied when they are attacked by skills.

The skills consume mana and adrenaline.
The physic resist of heroes are applied when they are attacked by other heroes with basic attack.
The heroe does not damage the units and buildings with the same team than hero.