mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-12 18:13:07 +00:00
Add line
This commit is contained in:
parent
f2cfaac4b8
commit
c139680ce3
1 changed files with 1 additions and 0 deletions
|
|
@ -255,6 +255,7 @@ namespace MWLua
|
|||
auto& stats = cls.getNpcStats(o.ptr());
|
||||
stats.setBaseDisposition(stats.getBaseDisposition() + value);
|
||||
};
|
||||
|
||||
npc["createRecordDraft"] = tableToNPC;
|
||||
npc["getFactionRank"] = [](const Object& actor, std::string_view faction) -> size_t {
|
||||
const MWWorld::Ptr ptr = actor.ptr();
|
||||
|
|
|
|||
Loading…
Reference in a new issue