Skip to content

Modifier ​

The Modifier class provides access to modifier state, ownership, and timing data.

NOTE

This page documents members declared directly on Modifier. Inherited members are available from MemoryAccessor.


Static Methods ​

static GetClassNameStatic()string ​

Retrieves the class name static.

Returned:

  • string - The requested class name static.

Methods ​

GetName()string ​

Retrieves the name.

Returned:

  • string - The requested name.

GetInheritance()string[] ​

Retrieves the inheritance.

Returned:

  • string[] - An array with the matching values.

GetOwnerIndex()number ​

Retrieves the owner index.

Returned:

  • number - The requested owner index.

GetOwner()NPC | null ​

Retrieves the owner.

Returned:

  • NPC | null - The matching object, or null if it is not available.

GetTeam()number ​

Retrieves the team.

Returned:

  • number - The requested team.

IsDebuff()boolean ​

Checks whether it is debuff.

Returned:

  • boolean - True if the condition is met, false otherwise.

GetCreationTime()number ​

Retrieves the creation time.

Returned:

  • number - The requested creation time.

GetCreationFrame()number ​

Retrieves the creation frame.

Returned:

  • number - The requested creation frame.

GetDieTime()number ​

Retrieves the die time.

Returned:

  • number - The requested die time.

GetElapsedTime()number ​

Retrieves the elapsed time.

Returned:

  • number - The requested elapsed time.

GetRemainingTime()number ​

Retrieves the remaining time.

Returned:

  • number - The requested remaining time.

GetClass()string ​

Retrieves the class.

Returned:

  • string - The requested class.

GetModifierAuraName()string ​

Retrieves the modifier aura name.

Returned:

  • string - The requested modifier aura name.

GetSerialNumber()number ​

Retrieves the serial number.

Returned:

  • number - The requested serial number.

GetIndex()number ​

Retrieves the index.

Returned:

  • number - The requested index.

GetLastAppliedTime()number ​

Retrieves the last applied time.

Returned:

  • number - The requested last applied time.

GetDuration()number ​

Retrieves the duration.

Returned:

  • number - The requested duration.

GetStackCount()number ​

Retrieves the stack count.

Returned:

  • number - The requested stack count.

GetAuraSearchTeam()number ​

Retrieves the aura search team.

Returned:

  • number - The requested aura search team.

GetAuraSearchType()number ​

Retrieves the aura search type.

Returned:

  • number - The requested aura search type.

GetAuraSearchFlags()number ​

Retrieves the aura search flags.

Returned:

  • number - The requested aura search flags.

GetAuraRadius()number ​

Retrieves the aura radius.

Returned:

  • number - The requested aura radius.

GetAttributes()number ​

Retrieves the attributes.

Returned:

  • number - The requested attributes.

IsAura()boolean ​

Checks whether it is aura.

Returned:

  • boolean - True if the condition is met, false otherwise.

IsAuraActiveOnDeath()boolean ​

Checks whether it is aura active on death.

Returned:

  • boolean - True if the condition is met, false otherwise.

GetMarkedForDeletion()boolean ​

Retrieves the marked for deletion.

Returned:

  • boolean - True if the condition is met, false otherwise.

IsHealingAura()boolean ​

Checks whether it is healing aura.

Returned:

  • boolean - True if the condition is met, false otherwise.

GetConstantByIndex(index: number)number ​

Retrieves the constant by index.

  • indexnumber - The index value.

Returned:

  • number - The requested constant by index.

GetAbilityIndex()number ​

Retrieves the ability index.

Returned:

  • number - The requested ability index.

GetAbility()Ability | null ​

Retrieves the ability.

Returned:

  • Ability | null - The matching object, or null if it is not available.

GetTexture()string ​

Retrieves the texture.

Returned:

  • string - The requested texture.

IsHidden()boolean ​

Checks whether it is hidden.

Returned:

  • boolean - True if the condition is met, false otherwise.