diff --git a/CMakeLists.txt b/CMakeLists.txt index 51c0a81aa2..8e3688057b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,7 +82,7 @@ message(STATUS "Configuring OpenMW...") set(OPENMW_VERSION_MAJOR 0) set(OPENMW_VERSION_MINOR 49) set(OPENMW_VERSION_RELEASE 0) -set(OPENMW_LUA_API_REVISION 66) +set(OPENMW_LUA_API_REVISION 67) set(OPENMW_POSTPROCESSING_API_REVISION 1) set(OPENMW_VERSION_COMMITHASH "") diff --git a/apps/openmw/mwlua/magicbindings.cpp b/apps/openmw/mwlua/magicbindings.cpp index a894ed07ff..8078537d5a 100644 --- a/apps/openmw/mwlua/magicbindings.cpp +++ b/apps/openmw/mwlua/magicbindings.cpp @@ -397,7 +397,7 @@ namespace MWLua [](const ESM::MagicEffect& rec) -> std::string { return rec.mHitSound.serializeText(); }); magicEffectT["areaStatic"] = sol::readonly_property( [](const ESM::MagicEffect& rec) -> std::string { return rec.mArea.serializeText(); }); - magicEffectT["boltStatic"] = sol::readonly_property( + magicEffectT["bolt"] = sol::readonly_property( [](const ESM::MagicEffect& rec) -> std::string { return rec.mBolt.serializeText(); }); magicEffectT["castStatic"] = sol::readonly_property( [](const ESM::MagicEffect& rec) -> std::string { return rec.mCasting.serializeText(); }); diff --git a/files/lua_api/openmw/core.lua b/files/lua_api/openmw/core.lua index 7e6400ad38..6178fed08b 100644 --- a/files/lua_api/openmw/core.lua +++ b/files/lua_api/openmw/core.lua @@ -700,7 +700,7 @@ -- @field #string castStatic Identifier of the vfx static used for casting -- @field #string hitStatic Identifier of the vfx static used on hit -- @field #string areaStatic Identifier of the vfx static used for AOE spells --- @field #string boltStatic Identifier of the projectile vfx static used for ranged spells +-- @field #string bolt Identifier of the projectile used for ranged spells -- @field #string castSound Identifier of the sound used for casting -- @field #string hitSound Identifier of the sound used on hit -- @field #string areaSound Identifier of the sound used for AOE spells