Make immunity work like fortification. Give enemies varying levels of elemental absorb (including over 100% for healing) and make absorption bypass the stat you gain instead of immunity bypass. Put some on relevant trees and some more on gear, just like fort bypass.