Hello,
I need help with this code. The thing is that I want to make it like that: After reaching skill 99 in fist fighting, the attack speed will be 15 ms and it wont change anymore even if player get higher skill.
Thanks for your help,
Regards, Vvafel
I need help with this code. The thing is that I want to make it like that: After reaching skill 99 in fist fighting, the attack speed will be 15 ms and it wont change anymore even if player get higher skill.
Code:
uint32_t Player::getAttackSpeed()
{
return vocation->getAttackSpeed() - getSkill(SKILL_FIST, SKILL_LEVEL) * 10;
}
Thanks for your help,
Regards, Vvafel