Hi bro, i'm starting to study C/C++, what this code means?
I know player->getLevel() = player Level
attackSkill = player skill (in this case distance)
attackValue (attack of weapon)
and attackFactor (depends if players have full attack/full def. etc)
My doubt is, how this script calculate? Because i...
Learning c++, what hits code means?
C++:
int32_t maxValue = static_cast<int32_t>(Weapons::getMaxWeaponDamage(player->getLevel(), attackSkill, attackValue, attackFactor) * player->getVocation()->distDamageMultiplier);
attackSkill = player skill (in this case distance)
attackValue (attack of weapon)
and attackFactor (depends if players have full attack/full def. etc)
My doubt is, how this script calculate? Because i...
Learning c++, what hits code means?