Decompile fn_22584 (CPc::GetDualWieldWeaponType)
Batch #13446 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review. - fn_22584 CPc::GetDualWieldWeaponType: logic confirmed by peer review Peer-reviewed-by: eAthena, Tanke 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
dc4095d532
commit
c8ec5cf7aa
1 changed files with 3 additions and 2 deletions
|
|
@ -1764,7 +1764,7 @@ bool CPc::IsCostumeOutfit() const {
|
|||
int CPc::GetDualWieldWeaponType(int first, int second) {
|
||||
int result = W_FIST;
|
||||
int main = first;
|
||||
int sub = second;
|
||||
int sub = 0;
|
||||
|
||||
if (!first) {
|
||||
if (!second) {
|
||||
|
|
@ -1772,7 +1772,8 @@ int CPc::GetDualWieldWeaponType(int first, int second) {
|
|||
}
|
||||
|
||||
main = second;
|
||||
sub = 0;
|
||||
} else {
|
||||
sub = second;
|
||||
}
|
||||
|
||||
if (main >= 1100 && main < 1150 || main >= 13400 && main < 13500 || main >= 500000 && main < 510000) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue