User:Irismus/SandboxPage



Status Resistance is an attribute of a hero that reduces the duration of most status debuffs and the slow values of movement speed slowing or attack speed slowing effects. By default, every unit has a base status resistance of.

Definition
Status resistance generally only affects modifiers placed by enemies and not ones placed by allies.

It does not affect all modifiers, there are some technical exceptions. When a unit's status resistance is modified, the new debuff duration value is only applied to debuffs applied after the modification, meaning it does not update the duration of already placed debuffs or the current debuff instance.


 * If a temporary modifier deals damage over time, its duration is not reduced. If the modifier applies a slow, the slow value is reduced instead.
 * If a temporary damage over time modifier applies a form of disable that is not a slow, its duration does get reduced, but its damage tick interval gets adapted to the reduced duration, so that the total damage stays the same.
 * If an essential part of a temporary modifier's purpose is delaying another effect or showing another effect's delay, it is not reduced.
 * If an ability affects secondary targets, and the secondary target's duration is based on the primary target, the duration on it may get reduced as well, based on the primary target's status resistance. There are some exceptions to this though.
 * Negative status resistance increases the duration of debuffs placed on the affected unit.

Equations
Status resistance bonus from -based items do not stack with each other, the higher status resistance value takes priority.

Total Status Resistance = 1 - Status Resistance Multiplier

Status Resistance Multipler = (1 - Base Status Resistance) × (1 - MAX(-%based)) × $$\prod_{i=1}^{n}$$(1 - Status Resistance Modifiers i )

Total Debuff Duration = Original Duration × Status Resistance Multiplier × $$\prod_{i=1}^{n}$$(1 - Debuff Duration Modifiers i )

Stacking
All sources of status resistance stack multiplicatively. This means a unit's status resistance value changes less the higher its status resistance is, and more the lower it is. This prevents a unit from reaching 100% status resistance by stacking different sources up.

Only certain status resistance granting sources have stacking restrictions and are separated into 3 groups. The status resistance bonuses from -based items do not stack with each other, with the one with a higher value taking priority. However, other sources from different groups stack independently, but still multiplicatively of each other.


 * Group 1: -based items.
 * Group 2: Stack-based bonus/reductions.
 * Group 3: Miscellaneous — Sources that do not belong to any of the first 2 groups fully stack with each other, with multiple of themselves, and with other item bonuses.
 * Group 4: Outgoing Debuff Duration Amp


 * Example 1
 * Status Resistance Bonus and Status Resistance Multiplier
 * has equipped while level 4  is active. What is his current status resistance?


 * Base unit status resistance:
 * Bonus status resistance: ,


 * Total Status Resistance


 * currently has % status resistance in this example, and all debuff duration applied on him will now be multiplied by.


 * Example 2


 * from the previous example with the same conditions is affected by Level 4, how long would the lift duration be after status resistance?
 * Status resistance value:
 * Level 2 :
 * Debuff duration:
 * Level 4 lift:
 * Level 4 lift:




 * A Level 4 will affect  for a duration of s instead of s in this example.


 * Example 2


 * from the previous example with the same conditions is affected by Level 4 with . How long would the  lift duration be after status resistance?
 * Status resistance values:
 * Level 2 :
 * Debuff duration manipulation values:
 * Debuff duration:
 * Level 4 lift:
 * Debuff duration:
 * Level 4 lift:




 * A Level 4 will affect  for a duration of s (after status resistance reductions and debuff duration manipulation) instead of s in this example.

Modifying Status Resistance
Several abilities and items have abilities that grant or reduce status resistance.

Status Resistance Increasing Abilities
The following abilities increase status resistance:

Items
These items have a bonus status resistance to the hero who has them equipped.

Status Resistance Reducing Abilities
The following abilities reduce status resistance:

Dynamic Tick Intervals
Several abilities that do something in intervals have their intervals adapt to a changed duration. This includes duration changes caused by status resistance or debuff duration amplification.

The following abilities have dynamic tick intervals

Recent Changes
Resistência estática Сопротивление эффектам 状态抗性