Decompile fn_23583 (IsJobWeaponAllowed)

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

- fn_23583 IsJobWeaponAllowed: logic confirmed by peer review

Peer-reviewed-by: alisonrag, kyoshi, br4yan
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-11-11 14:35:05 +00:00
commit b147286cc9

View file

@ -1073,8 +1073,15 @@ bool __stdcall IsJobWeaponAllowed(int job, int slot, std::int64_t weapon) {
case JT_GUNSLINGER_B:
case JT_REBELLION_B:
case JT_NIGHT_WATCH:
if (view >= 18 && view <= 21) {
switch (view) {
case W_RIFLE:
case W_GATLING:
case W_SHOTGUN:
case W_GRENADE:
result = true;
break;
default:
break;
}
break;
case JT_NINJA: