mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-08-03 15:27:13 -04:00
Add line
This commit is contained in:
parent
f2cfaac4b8
commit
c139680ce3
@ -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…
x
Reference in New Issue
Block a user