diff --git a/components/esm/loadmgef.cpp b/components/esm/loadmgef.cpp index 0dfc2be9c..19d535600 100644 --- a/components/esm/loadmgef.cpp +++ b/components/esm/loadmgef.cpp @@ -279,8 +279,15 @@ MagicEffect::MagnitudeDisplayType MagicEffect::getMagnitudeDisplayType() const { return MDT_None; if ( mIndex == 84 ) return MDT_TimesInt; + if ( mIndex == 59 || + ( mIndex >= 64 && mIndex <= 66) ) + return MDT_Feet; + if ( mIndex == 118 || mIndex == 119 ) + return MDT_Level; if ( ( mIndex >= 28 && mIndex <= 36 ) - || ( mIndex >= 90 && mIndex <= 99 ) ) + || ( mIndex >= 90 && mIndex <= 99 ) + || mIndex == 40 || mIndex == 47 + || mIndex == 57 || mIndex == 68 ) return MDT_Percentage; return MDT_Points; diff --git a/components/esm/loadmgef.hpp b/components/esm/loadmgef.hpp index c3af56e3a..f139fa32c 100644 --- a/components/esm/loadmgef.hpp +++ b/components/esm/loadmgef.hpp @@ -35,8 +35,10 @@ struct MagicEffect enum MagnitudeDisplayType { MDT_None, - MDT_Points, + MDT_Feet, + MDT_Level, MDT_Percentage, + MDT_Points, MDT_TimesInt };