Skip to content

Commit

Permalink
Merge branch 'lua_effect_expire' into 'master'
Browse files Browse the repository at this point in the history
Add notes about lua active effects technicality

See merge request OpenMW/openmw!3516
  • Loading branch information
psi29a committed Oct 25, 2023
2 parents 6a87ba8 + 5dd1f03 commit 2e587c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion files/lua_api/openmw/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -675,11 +675,13 @@

---
-- @type ActiveEffect
-- Magic effect that is currently active on an actor.
-- Note that when this effect expires or is removed, it will remain temporarily. Magnitude will be set to 0 for effects that expire.
-- @field #string affectedSkill Optional skill ID
-- @field #string affectedAttribute Optional attribute ID
-- @field #string id Effect id string
-- @field #string name Localized name of the effect
-- @field #number magnitude
-- @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

Expand Down

0 comments on commit 2e587c3

Please sign in to comment.