Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
I noticed that using a one handed weapon + shield it ignores the weapon's defense, is this normal? If weapon have extradef this count, but normal def not.
I verified that if you use a two-handed weapon with defense, like enchanted staff that has 45 defense, don't defend anything.
Because I've been watching some tibia videos old time, and that a player could defend the attack even with low weapon defense, and it wasn't block armor. so i made some changes in player.cpp
And now work weapon+shield or only weapon or shield.
C++:
if (weapon) {
totalDefense = weapon->getDefense() + 1;
switch (weapon->getWeaponType()) {
case WEAPON_AXE:
defenseSkill = getSkillLevel(SKILL_SHIELD);
break;
case WEAPON_SWORD:
defenseSkill = getSkillLevel(SKILL_SHIELD);
break;
case WEAPON_CLUB:
defenseSkill = getSkillLevel(SKILL_SHIELD);
break;
case WEAPON_DISTANCE:
case WEAPON_AMMO:
defenseSkill = getSkillLevel(SKILL_SHIELD);
break;
default:
break;
}
}