115820
Member
Hi, i have this script but works with SKILL_FIST, and i want change to STORAGE
Code:
uint32_t Player::getAttackSpeed() const
{
int32_t SpeedAttack;
SpeedAttack = vocation->getAttackSpeed() - (getSkill(SKILL_FIST, SKILL_LEVEL) * 10);
if (SpeedAttack < 500) {
return 500;
} else {
return (uint32_t) SpeedAttack;
}
}