Skip to content

tes3activeMagicEffect⚓︎

Data about a magic effect currently active on a particular mobile actor. It is accessed from tes3mobileActor.activeMagicEffectList. The data is a subset of the full data from a tes3magicEffectInstance, but does not require extra lookups to access, making it faster to scan through an actor's magic effects.

Properties⚓︎

attributeId⚓︎

Read-only. The attribute ID (note that this may be the skill ID if the effect affects skills, since attributeId and skillId properties are set to the same value by the engine). Maps to values from tes3.attribute table.

Returns:


duration⚓︎

Read-only. The total duration of this specific effect.

Returns:

  • result (number)

effectId⚓︎

Read-only. The magic effect ID. Maps to values from tes3.effect table.

Returns:


effectIndex⚓︎

Read-only. The index of the effect inside the magic source instance.

Returns:

  • result (integer)

effectInstance⚓︎

Read-only. The magic effect instance for this effect.

Returns:


harmful⚓︎

Read-only. This flag that determines if this effect is counted as a hostile action.

Returns:

  • result (boolean)

instance⚓︎

Read-only. The magic source instance for this effect.

Returns:


isBoundItem⚓︎

Read-only. If this effect has summoned a bound item.

Returns:

  • result (boolean)

isIllegalSummon⚓︎

Read-only. If this effect has summoned a creature that has been declared illegal to summon. This is an otherwise unused flag in the game that is set for daedra and undead summon magic effects, but not for any other summon creature magic effects.

Returns:

  • result (boolean)

isSummon⚓︎

Read-only. If this effect has summoned a creature.

Returns:

  • result (boolean)

magnitude⚓︎

Read-only. The unresisted magnitude of the magic effect, that is the magnitude before resistance attributes are applied. To find the actual effective magnitude after resistances are applied, you must check the magic effect instance.

Returns:

  • result (integer)

magnitudeMin⚓︎

Read-only. Deprecated.

Returns:

  • result (number)

mobile⚓︎

Read-only. The mobile affected by the magic effect.

Returns:


next⚓︎

Read-only. Deprecated.

Returns:


previous⚓︎

Read-only. Deprecated.

Returns:


serial⚓︎

Read-only. The magic source instance serial number. See the instance and effectInstance properties to easily access the magic and effect instances.

Returns:

  • result (integer)

skillId⚓︎

Read-only. The skill ID (note that this may be the attribute ID if the effect affects attributes, since attributeId and skillId properties are set to the same value by the engine). Maps to values in tes3.skill table.

Returns: