Add duration to core.MagicEffectWithParams

revert-6246b479
Zackhasacat 2 years ago committed by jvoisin
parent 428642d2cf
commit 3e52971a13

@ -284,6 +284,8 @@ namespace MWLua
= sol::readonly_property([](const ESM::ENAMstruct& params) -> int { return params.mMagnMin; });
effectParamsT["magnitudeMax"]
= sol::readonly_property([](const ESM::ENAMstruct& params) -> int { return params.mMagnMax; });
effectParamsT["duration"]
= sol::readonly_property([](const ESM::ENAMstruct& params) -> int { return params.mDuration; });
// MagicEffect record
auto magicEffectT = context.mLua->sol().new_usertype<ESM::MagicEffect>("ESM3_MagicEffect");

@ -643,6 +643,7 @@
-- @field #number area
-- @field #number magnitudeMin
-- @field #number magnitudeMax
-- @field #number duration
---
-- @type ActiveEffect

Loading…
Cancel
Save