Idea for getting trusts to go past 99 #3179
Daywhite83
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know I'm just an amateur but i was thinking....
In the file trustutils.cpp
after line 414
PTrust->SetMLevel(PMaster->GetMLevel());
if there was an if statement or something that if it returned 99, that it could scan the player for item level, then use that item level (if it returns something more than 99) as the trusts level.
I tried
if (PMaster->GetMLevel() == 99)
{
if (charutils::getMaxItemLevel(PMaster))
{
PTrust->SetMLevel(charutils::getMaxItemLevel(PMaster));
}
else
{
PTrust->SetMLevel(PMaster->GetMLevel());
}
}
but obviously i dont know what im doing so i thought id throw a suggestion here for someone experienced with this kind of thing.
Also if there was a GetILevel() fuction that would obviously be better.
Beta Was this translation helpful? Give feedback.
All reactions