Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/map/lua/luautils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ void LoadExpDifficultyCurves(const sol::table& expToDifficultyTable, const uint8
return a.first > b.first;
});

std::pair<uint16, uint8> iep = { incrediblyEasyPreyMinExp, incrediblyEasyPreyLevel };
std::pair<uint16, uint8> iep = { incrediblyEasyPreyLevel, incrediblyEasyPreyMinExp };

charutils::SetExpDifficultyCurve(expDifficultyTable, iep);
}
Expand Down
6 changes: 3 additions & 3 deletions src/map/utils/charutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Loading