• 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!

Solved //removed.

weapons.cpp
PHP:
bool Weapon::useFist(Player* player, Creature* target)
It is function for fist but I believe in that file is all functions to calculation of damage.
 
Weapons.cpp:
[cpp]int32_t Weapons::getMaxWeaponDamage(int32_t level, int32_t attackSkill, int32_t attackValue, float attackFactor)
{
return (int32_t)std::ceil((2 * (attackValue * (attackSkill + 5.8) / 25 + (level - 1) / 10.)) / attackFactor);
}
[/cpp]
 
You can just put the number value into the formula, or what would that value be?
 
Back
Top