diff --git a/src/map/lua/luautils.cpp b/src/map/lua/luautils.cpp index cf10cf4328f..189213a47d1 100644 --- a/src/map/lua/luautils.cpp +++ b/src/map/lua/luautils.cpp @@ -1024,7 +1024,7 @@ void LoadExpDifficultyCurves(const sol::table& expToDifficultyTable, const uint8 return a.first > b.first; }); - std::pair iep = { incrediblyEasyPreyMinExp, incrediblyEasyPreyLevel }; + std::pair iep = { incrediblyEasyPreyLevel, incrediblyEasyPreyMinExp }; charutils::SetExpDifficultyCurve(expDifficultyTable, iep); } diff --git a/src/map/utils/charutils.cpp b/src/map/utils/charutils.cpp index a8c0e4c9527..562a0f803d1 100644 --- a/src/map/utils/charutils.cpp +++ b/src/map/utils/charutils.cpp @@ -4639,10 +4639,10 @@ EMobDifficulty CheckMob(uint8 charlvl, CBattleEntity* PMob) } } - auto IEPExp = IncrediblyEasyPreyCheck.first; - auto IEPLevel = IncrediblyEasyPreyCheck.second; + auto IEPLevel = IncrediblyEasyPreyCheck.first; + auto IEPExp = IncrediblyEasyPreyCheck.second; - if (baseExp >= IEPExp && moblvl > IEPLevel) + if (baseExp >= IEPExp && moblvl >= IEPLevel) { return EMobDifficulty::IncrediblyEasyPrey; }