Damage Barrier

Definition
Damage barriers absorb a flat amount of damage based on their damage type classification, regardless of coming from abilities or attacks. The barrier absorbs the damage before it is reduced by any damage manipulation sources (e.g. armor, magic resistance, and etc.).


 * Example


 * has a health damage barrier, and gets hit by  magical damage. How much actual magical damage will he take?
 * Base magic resistance:


 * Magical Damage Taken
 * = ( - ) × (1 - )


 * will take magical damage in this example.

This means the exceeding 100 magical damage is not absorbed and the damage is reduced by Anti-Mage's base % magic resistance to 75 magical damage. In this example, takes 75 magic damage. This means a barrier is more effective the lower a unit's magic resistance is, similar to how damage block is more effective, the lower the armor is.

Stacking
Multiple same damage-type barrier sources stack additively, and independently with other damage-type barrier sources. Pure damage barrier has the highest priority in the group of damage barriers, its capacity is depleted first when combined with other damage-type barriers. However, when combined with other higher-priority damage-negating sources (e.g. or ), damage barriers do not absorb any damage until the damage-negation sources expire.

Damage barrier absorbs damage values of all damage types (after all reductions), causing several on-damage effects to not trigger within its capacity.

Magical Damage Barrier stacking is defined as

Magical Damage Barrier = $$ \begin{cases} i - B_n & \quad \text{if } x \leq B_n \\ i - (\sum_{i=1} B_n) & \quad \text{if } x > B_n \end{cases} $$

With  being the incoming magical damage value,   the source(s) of the magical damage barrier value.


 * Example 1


 * is affected by Level 4 and  of Pipe of Insight. He then takes  magical damage. Both magical damage barriers will lose  capacity.
 * Barrier capacity: :, :


 * Since the incoming magical damage is less than B1 and B2:


 * B1


 * B2


 * Since incoming magical damage is less than all individual barriers. Both and  will now have  and  remaining magic barrier capacity respectively in this example.


 * Example 2
 * is affected by Level 4 and  of Pipe of Insight. He then takes  magical damage.
 * Barrier capacity: :, :


 * Since the incoming magical damage is more than B1 and B2 combined:


 * Incoming Magical Damage


 * Since incoming magical damage is greater than the sum of both barriers, both and  are depleted, and magical damage is blocked as if the barriers were one barrier with combined capacity, highlighted in blue in this example.  takes the remaining  damage before applying magic resistance.

Granting Abilities
Барьер