From 8a022651f767c127e96ba1ab6d9a8f9e63dafccb Mon Sep 17 00:00:00 2001 From: Evil Eye Date: Fri, 28 Jun 2024 17:23:51 +0200 Subject: [PATCH] Move index from ActiveEffect to ActiveSpellEffect --- files/lua_api/openmw/core.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/lua_api/openmw/core.lua b/files/lua_api/openmw/core.lua index b75f22748b..3813ebd4f1 100644 --- a/files/lua_api/openmw/core.lua +++ b/files/lua_api/openmw/core.lua @@ -349,6 +349,7 @@ --- -- @type ActiveSpellEffect +-- @field #number index Index of this effect within the original list of @{#MagicEffectWithParams} of the spell/enchantment/potion this effect came from. -- @field #string affectedSkill Optional skill ID -- @field #string affectedAttribute Optional attribute ID -- @field #string id Magic effect id @@ -729,7 +730,6 @@ -- @field #number magnitude current magnitude of the effect. Will be set to 0 when effect is removed or expires. -- @field #number magnitudeBase -- @field #number magnitudeModifier --- @field #number index Index of this effect within the original list of @{#MagicEffectWithParams} of the spell/enchantment/potion this effect came from. --- @{#Sound}: Sounds and Speech -- @field [parent=#core] #Sound sound