Changed: Merge changes from next patch

This commit is contained in:
kervala 2011-06-02 17:28:30 +02:00
parent 15158c4514
commit 8d099d236a

View file

@ -18084,7 +18084,7 @@ void CCharacter::resetTpTicketSlot()
//----------------------------------------------------------------------------
void CCharacter::updateParry(ITEMFAMILY::EItemFamily family, SKILLS::ESkills skill)
{
if (family == ITEMFAMILY::MELEE_WEAPON && skill < SKILLS::NUM_SKILLS)
if ((family == ITEMFAMILY::MELEE_WEAPON || family == ITEMFAMILY::RANGE_WEAPON) && skill < SKILLS::NUM_SKILLS)
_CurrentParrySkill = skill;
else
_CurrentParrySkill = BarehandCombatSkill;