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:
parent
e7cf6074ff
commit
b147286cc9
1 changed files with 8 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue