Damage Barrier creates a barrier around a unit (i.e., a hero) that protects the unit from incoming damage based on its max capacity and type.
There are 3 types of Damage Barrier (i.e., Resonant Pulse), Magical (i.e., Flame Guard), and Universal (i.e., Aphotic Shield).
So, is there any function to get a Damage Barrier with a specific of unit?
I am currently using the HasModifier function (i.e., HasModifier("modifier_item_safety_bubble")) and manually calculate based on its max capacity, which is not efficient.
Also, I cannot access the remaining health (current state) of the Damage Barrier.
Thanks in advance!!
There are 3 types of Damage Barrier (i.e., Resonant Pulse), Magical (i.e., Flame Guard), and Universal (i.e., Aphotic Shield).
So, is there any function to get a Damage Barrier with a specific of unit?
I am currently using the HasModifier function (i.e., HasModifier("modifier_item_safety_bubble")) and manually calculate based on its max capacity, which is not efficient.
Also, I cannot access the remaining health (current state) of the Damage Barrier.
Thanks in advance!!