# CDOTA_Modifier_Lua
extends CDOTA_Buff
Function | Description | Client |
---|---|---|
bool AllowIllusionDuplicate() | True/false if this modifier is active on illusions. | ✔️ |
bool CanParentBeAutoAttacked() | ✔️ | |
bool DestroyOnExpire() | True/false if this buff is removed when the duration expires. | ✔️ |
int GetAttributes() | Return the types of attributes applied to this modifier (enum value from DOTAModifierAttribute_t | ✔️ |
float GetAuraDuration() | Returns aura stickiness | ✔️ |
bool GetAuraEntityReject(hEntity) | Return true/false if this entity should receive the aura under specific conditions | ✔️ |
int GetAuraRadius() | Return the range around the parent this aura tries to apply its buff. | ✔️ |
int GetAuraSearchFlags() | Return the unit flags this aura respects when placing buffs. | ✔️ |
int GetAuraSearchTeam() | Return the teams this aura applies its buff to. | ✔️ |
int GetAuraSearchType() | Return the unit classifications this aura applies its buff to. | ✔️ |
int GetEffectAttachType() | Return the attach type of the particle system from GetEffectName. | ✔️ |
string GetEffectName() | Return the name of the particle system that is created while this modifier is active. | ✔️ |
string GetHeroEffectName() | Return the name of the hero effect particle system that is created while this modifier is active. | ✔️ |
string GetModifierAura() | The name of the secondary modifier that will be applied by this modifier (if it is an aura). | ✔️ |
int GetPriority() | Return the priority order this modifier will be applied over others. | ✔️ |
string GetStatusEffectName() | Return the name of the status effect particle system that is created while this modifier is active. | ✔️ |
string GetTexture() | Return the name of the buff icon to be shown for this modifier. | ✔️ |
int HeroEffectPriority() | Relationship of this hero effect with those from other buffs (higher is more likely to be shown). | ✔️ |
bool IsAura() | True/false if this modifier is an aura. | ✔️ |
bool IsAuraActiveOnDeath() | True/false if this aura provides buffs when the parent is dead. | ✔️ |
bool IsDebuff() | True/false if this modifier should be displayed as a debuff. | ✔️ |
bool IsHidden() | True/false if this modifier should be displayed on the buff bar. | ✔️ |
bool IsPermanent() | ✔️ | |
bool IsPurgable() | True/false if this modifier can be purged. | ✔️ |
bool IsPurgeException() | True/false if this modifier can be purged by strong dispels. | ✔️ |
bool IsStunDebuff() | True/false if this modifier is considered a stun for purge reasons. | ✔️ |
void OnCreated(table) | Runs when the modifier is created. | ✔️ |
void OnDestroy() | Runs when the modifier is destroyed (after unit loses modifier). | ✔️ |
void OnIntervalThink() | Runs when the think interval occurs. | ✔️ |
void OnRefresh(table) | Runs when the modifier is refreshed. | ✔️ |
void OnRemoved() | Runs when the modifier is destroyed (before unit loses modifier). | ✔️ |
void OnStackCountChanged(iStackCount) | Runs when stack count changes (param is old count). | ✔️ |
bool RemoveOnDeath() | True/false if this modifier is removed when the parent dies. | ✔️ |
bool ShouldUseOverheadOffset() | Apply the overhead offset to the attached effect. | ✔️ |
int StatusEffectPriority() | Relationship of this status effect with those from other buffs (higher is more likely to be shown). | ✔️ |