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 stack additively of itself and multiplicatively with other sources.
 * 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 1a
 * Status Resistance Bonus and Status Resistance Multiplier
 * has equipped with level 2  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 1b
 * Debuff Duration and Status Resistance Multiplier
 * How long would a level 4 s lift duration be on  from the previous example?


 * Total Debuff Duration


 * The level 4 will affect  for a duration of s instead of s in this example.


 * Example 2
 * Calculating Actual or Total Debuff Duration
 * from the previous example now has both and.
 * He is currently affected by and.
 * The enemy now has  equipped. How long would a level 4  lift duration be on  now?


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


 * Total Status Resistance:
 * = 1 - (1 - ) * (1 - ) * (1 - - ) * (1 -  - )


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


 * Debuff duration amplification:


 * Total Debuff Duration
 * = *  * (1 - - )


 * The level 4 will affect  for a duration of s instead of s in this example.

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

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

Debuff Duration Manipulation
Similar to status resistance, which affects incoming debuffs' durations. Debuff duration manipulation affects outgoing debuff durations instead. Any ability whose duration would be reduced by status resistance will have its duration increased by debuff duration increases.

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 Сопротивление эффектам 状态抗性