mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 03:35:27 +00:00
Fix actorActiveSpells pairs, docs
This commit is contained in:
parent
f34b57656a
commit
b535e41164
@ -554,7 +554,7 @@ namespace MWLua
|
||||
return sol::as_function([lua, &self]() mutable -> std::pair<sol::object, sol::object> {
|
||||
if (!self.isEnd())
|
||||
{
|
||||
auto result = sol::make_object(lua, self.mIterator->getId());
|
||||
auto result = sol::make_object(lua, self.mIterator->getId().serializeText());
|
||||
auto index = sol::make_object(lua, self.mIndex + 1);
|
||||
self.advance();
|
||||
return { index, result };
|
||||
|
@ -206,7 +206,7 @@
|
||||
-- @param self
|
||||
-- @param #string effectId effect ID
|
||||
-- @param #string extraParam Optional skill or attribute ID
|
||||
-- @return #ActiveEffect if such an effect is active, nil otherwise
|
||||
-- @return openmw.core#ActiveEffect if such an effect is active, nil otherwise
|
||||
|
||||
---
|
||||
-- Completely removes the active effect from the actor.
|
||||
|
Loading…
x
Reference in New Issue
Block a user