Updated for PRC 4.19a

Updated for PRC 4.19a.  Added sai & nunchaku as Monk weapons.  Updated prc_inc_switch.nss to show defunct switches.
This commit is contained in:
Jaysyn904
2022-10-18 14:51:39 -04:00
parent 5f48d9230b
commit edc1ff70e3
5 changed files with 446 additions and 260 deletions

View File

@@ -1157,6 +1157,8 @@ int GetIsMonkWeaponTypeOrUnarmed(int iWeaponType)
{
return ( iWeaponType == BASE_ITEM_INVALID
|| iWeaponType == BASE_ITEM_KAMA
|| iWeaponType == BASE_ITEM_SAI
|| iWeaponType == BASE_ITEM_NUNCHAKU
);
}
@@ -8948,5 +8950,4 @@ void PerformAttack(object oDefender, object oAttacker,
AttackLoopMain(oDefender, oAttacker, 0, 0, 1, iAttackBonusMod, sAttackVars, sMainWeaponDamage, sOffHandWeaponDamage, sSpellBonusDamage);
else
AttackLoopMain(oDefender, oAttacker, 0, 1, 0, iAttackBonusMod, sAttackVars, sMainWeaponDamage, sOffHandWeaponDamage, sSpellBonusDamage);
}
}