Decompile fn_22434 (CNpc::Slot17)

Batch #6299 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_22434 CNpc::Slot17: logic confirmed by peer review

Peer-reviewed-by: superintelligence, Romain, SapitoSucio
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-10-30 21:42:57 +00:00
commit d2de4ac7c0
2 changed files with 16 additions and 0 deletions

View file

@ -17,6 +17,7 @@ public:
) override;
void Render(int argument) override;
void Slot16() override;
void Slot17() override;
void Slot21(int value) override;
void Slot22(int value) override;
void Slot23(int first, int second) override;

View file

@ -337,6 +337,21 @@ void CNpc::Slot16() {
}
}
// OFFSET: 0x00DA61C0
// FUNCTION: fn_22434
void CNpc::Slot17() {
switch (this->GetEffectiveJob(-1)) {
case 45:
case 104:
case 111:
case 139:
break;
default:
g_modeMgr.GetGameMode()->SendMsg(13, this->render.accountId, 0, 0, 0);
break;
}
}
// OFFSET: 0x00DA5800
// FUNCTION: fn_22429
void CPc::Slot59(bool value) {