Decompile fn_23401 (CSession::MercSkillLevel)
Batch #1324 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review. - fn_23401 CSession::MercSkillLevel: logic confirmed by peer review Peer-reviewed-by: Yommy Reviewed-by: ragnarok-clanker
This commit is contained in:
parent
e6d114bd15
commit
ee280b667b
1 changed files with 9 additions and 0 deletions
|
|
@ -9,6 +9,15 @@
|
|||
CSession g_session;
|
||||
|
||||
// OFFSET: 0x00DDE860
|
||||
// FUNCTION: fn_23401
|
||||
int CSession::MercSkillLevel(int skillId) const {
|
||||
const int index = skillId - 8200;
|
||||
if (index > -1) {
|
||||
return this->m_mercSkillLevels[index];
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00E13B00
|
||||
// FUNCTION: fn_23826
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue