Estou tentando acrescentar atk speed pelo fist fight na source, porém está acontecendo o seguinte erro:
A mudança é apenas essa: (Créditos: Oneshot)
uint32_t Player::getAttackSpeed() const { return std::ceil(((weapon && weapon->getAttackSpeed() != 0) ? weapon->getAttackSpeed() * (1 - (getSkill(SKILL_FIST, SKILL_LEVEL) * 0.00375)) : (vocation->getAttackSpeed() / std::max((size_t)1, getWeapons().size()) * (1 - (getSkill(SKILL_FIST, SKILL_LEVEL) * 0.00375))))); }
Se alguém puder ajudar, agradeço.