From ab9d9c7001f7ad1625028c87c099f34b9487d8d7 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 19 Sep 2014 08:09:10 +0200 Subject: [PATCH] Add magic effect flags from ESM files to esmtool --- apps/esmtool/labels.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/esmtool/labels.cpp b/apps/esmtool/labels.cpp index ef45989efe..74b2c5fd28 100644 --- a/apps/esmtool/labels.cpp +++ b/apps/esmtool/labels.cpp @@ -787,6 +787,10 @@ std::string magicEffectFlags(int flags) if (flags & ESM::MagicEffect::NonRecastable) properties += "NonRecastable "; if (flags & ESM::MagicEffect::Unreflectable) properties += "Unreflectable "; if (flags & ESM::MagicEffect::CasterLinked) properties += "CasterLinked "; + if (flags & ESM::MagicEffect::AllowSpellmaking) properties += "AllowSpellmaking "; + if (flags & ESM::MagicEffect::AllowEnchanting) properties += "AllowEnchanting "; + if (flags & ESM::MagicEffect::NegativeLight) properties += "NegativeLight "; + if (flags & 0xFFFC0000) properties += "Invalid "; properties += str(boost::format("(0x%08X)") % flags); return properties;