Method SpellInfo:GetEffectMiscValueA [-] [+]

Retrieves the MiscValueA of a spell effect at the specified index.

MiscValueA contains additional information about the effect, such as: - Which stat is affected for stat modifiers - School mask for resistance changes - Item class for item creation effects - And more depending on the effect type

Synopsis

miscValueA = SpellInfo:GetEffectMiscValueA( effectIndex )

Arguments

number effectIndex

The index of the effect (0, 1, or 2).

Valid numbers: integers from 0 to 255.

Returns

number miscValueA

The MiscValueA value, or 0 if the effect doesn't exist.

Valid numbers: integers from -2,147,483,647 to 2,147,483,647.

Generated on
©2026 - ALE Lua Engine