Skip to content

ModifierState Enum

The ModifierState enum defines various states or conditions that can be applied to units in Dota 2. These states influence the unit's abilities, interactions, and behavior during the game.

Enum Values

NameValueDescription
MODIFIER_STATE_ROOTED0The unit is rooted and cannot move.
MODIFIER_STATE_DISARMED1The unit is disarmed and cannot attack.
MODIFIER_STATE_ATTACK_IMMUNE2The unit is immune to attacks.
MODIFIER_STATE_SILENCED3The unit is silenced and cannot cast spells.
MODIFIER_STATE_MUTED4The unit is muted and cannot use items.
MODIFIER_STATE_STUNNED5The unit is stunned and cannot perform any actions.
MODIFIER_STATE_HEXED6The unit is hexed, disabling all abilities and reducing movement speed.
MODIFIER_STATE_INVISIBLE7The unit is invisible to enemies without detection.
MODIFIER_STATE_INVULNERABLE8The unit is invulnerable and cannot take damage.
MODIFIER_STATE_MAGIC_IMMUNE9The unit is immune to magic damage.
MODIFIER_STATE_PROVIDES_VISION10The unit provides vision to its team, even while invisible.
MODIFIER_STATE_NIGHTMARED11The unit is under the effects of Nightmare.
MODIFIER_STATE_BLOCK_DISABLED12The unit cannot block damage with shields or abilities.
MODIFIER_STATE_EVADE_DISABLED13The unit cannot evade attacks.
MODIFIER_STATE_UNSELECTABLE14The unit cannot be selected.
MODIFIER_STATE_CANNOT_TARGET_ENEMIES15The unit cannot target enemies.
MODIFIER_STATE_CANNOT_TARGET_BUILDINGS16The unit cannot target buildings.
MODIFIER_STATE_CANNOT_MISS17The unit's attacks cannot miss.
MODIFIER_STATE_SPECIALLY_DENIABLE18The unit can be denied by allies under special conditions.
MODIFIER_STATE_FROZEN19The unit is frozen and unable to act.
MODIFIER_STATE_COMMAND_RESTRICTED20The unit cannot execute movement or attack commands.
MODIFIER_STATE_NOT_ON_MINIMAP21The unit does not appear on the minimap.
MODIFIER_STATE_LOW_ATTACK_PRIORITY22The unit has low attack priority for enemy units.
MODIFIER_STATE_NO_HEALTH_BAR23The unit's health bar is hidden.
MODIFIER_STATE_NO_HEALTH_BAR_FOR_ENEMIES24The unit's health bar is hidden for enemies only.
MODIFIER_STATE_NO_HEALTH_BAR_FOR_OTHER_PLAYERS25The unit's health bar is hidden for all players except its controller.
MODIFIER_STATE_FLYING26The unit is flying and ignores terrain restrictions.
MODIFIER_STATE_NO_UNIT_COLLISION27The unit can move through other units.
MODIFIER_STATE_NO_TEAM_MOVE_TO28The unit's teammates cannot issue "move to" commands on it.
MODIFIER_STATE_NO_TEAM_SELECT29The unit's teammates cannot select it.
MODIFIER_STATE_PASSIVES_DISABLED30The unit's passive abilities are disabled.
MODIFIER_STATE_DOMINATED31The unit is dominated by another player or entity.
MODIFIER_STATE_BLIND32The unit is blinded and has reduced attack accuracy.
MODIFIER_STATE_OUT_OF_GAME33The unit is temporarily removed from the game.
MODIFIER_STATE_FAKE_ALLY34The unit appears as an ally to enemies.
MODIFIER_STATE_FLYING_FOR_PATHING_PURPOSES_ONLY35The unit flies only for pathfinding purposes.
MODIFIER_STATE_TRUESIGHT_IMMUNE36The unit is immune to Truesight detection.
MODIFIER_STATE_UNTARGETABLE37The unit cannot be targeted by any actions.
MODIFIER_STATE_UNTARGETABLE_ALLIED38The unit cannot be targeted by allied actions.
MODIFIER_STATE_UNTARGETABLE_ENEMY39The unit cannot be targeted by enemy actions.
MODIFIER_STATE_UNTARGETABLE_SELF40The unit cannot target itself.
MODIFIER_STATE_IGNORING_MOVE_AND_ATTACK_ORDERS41The unit ignores movement and attack orders.
MODIFIER_STATE_ALLOW_PATHING_THROUGH_TREES42The unit can path through trees.
MODIFIER_STATE_NOT_ON_MINIMAP_FOR_ENEMIES43The unit does not appear on the minimap for enemies.
MODIFIER_STATE_UNSLOWABLE44The unit cannot be slowed.
MODIFIER_STATE_TETHERED45The unit is tethered to another unit.
MODIFIER_STATE_IGNORING_STOP_ORDERS46The unit ignores stop commands.
MODIFIER_STATE_FEARED47The unit is feared and moves away from the source of fear.
MODIFIER_STATE_TAUNTED48The unit is taunted and forced to attack the source of the taunt.
MODIFIER_STATE_CANNOT_BE_MOTION_CONTROLLED49The unit cannot be affected by motion control abilities.
MODIFIER_STATE_FORCED_FLYING_VISION50The unit provides flying vision for its team.
MODIFIER_STATE_ATTACK_ALLIES51The unit can attack allied units.
MODIFIER_STATE_ALLOW_PATHING_THROUGH_CLIFFS52The unit can path through cliffs.
MODIFIER_STATE_ALLOW_PATHING_THROUGH_FISSURE53The unit can path through fissures.
MODIFIER_STATE_SPECIALLY_UNDENIABLE54The unit cannot be denied under special conditions.
MODIFIER_STATE_ALLOW_PATHING_THROUGH_OBSTRUCTIONS55The unit can path through obstructions.
MODIFIER_STATE_DEBUFF_IMMUNE56The unit is immune to debuffs.
MODIFIER_STATE_NO_INVISIBILITY_VISUALS57The unit does not display invisibility visuals.
MODIFIER_STATE_ALLOW_PATHING_THROUGH_BASE_BLOCKER58The unit can path through base blockers.
MODIFIER_STATE_LAST59Marks the last valid state in the enumeration.