This commit is contained in:
SkyHasACat 2025-08-01 16:49:19 -07:00
parent f2cfaac4b8
commit c139680ce3

View File

@ -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();