Could someone help me to create a script, the more fishing skill the player has the more chance to drop loots he has?
example: going to soucers I found this code that increases the attack speed according to the player's fist.
@up
example: going to soucers I found this code that increases the attack speed according to the player's fist.
Lua:
uint32_t getAttackSpeed() const {
int32_t AtkSpeed;
AtkSpeed = vocation->getAttackSpeed() - (getSkillLevel(SKILL_FIST)* 10);
if (AtkSpeed < 500){
return 500;
} else {
return (uint32_t) AtkSpeed;
}
}
Post automatically merged:
@up
Last edited: