Player::getDefense Bug Fix

In RealOTS when wielding two handed weapons the defense skill used is the weapon's type, however, this was not used although the code was added but seems I had forgotten to get the skill level.
This commit is contained in:
Alejandro Mujica
2019-02-07 23:05:30 -04:00
parent 233edcb48f
commit 000460265c
2 changed files with 3 additions and 1 deletions

View File

@@ -263,6 +263,8 @@ int32_t Player::getDefense()
default:
break;
}
defenseSkill = getSkillLevel(defenseSkill);
}
if (shield) {