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:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user