• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Script Very Important

laccc

New Member
Joined
Jul 15, 2008
Messages
23
Reaction score
0
I need a script that the more the fist player to get the faster it attack..
 
Last edited:
Man, we can help you, if you speak the correct english.. if you not, you can't have our help. Try to learn the english, after,you go to a "english forum".
 
Code:
return vocation->getAttackSpeed();

To:
Code:
return vocation->getAttackSpeed() - skills[SKILL_FIST][SKILL_LEVEL];
 
It'll change attack speed to (base - skill). But if you wanna more power, just use:
Code:
return vocation->getAttackSpeed() - skills[SKILL_FIST][SKILL_LEVEL] * 10;

So when u have 100 skill, u will be faster by 1 sec.
 
player.cpp
Code:
uint32_t Player::getAttackSpeed()
{
	Item* weapon = getWeapon();
	if(weapon && weapon->getAttackSpeed() != 0)
		return weapon->getAttackSpeed();

	return vocation->getAttackSpeed()[B][COLOR="Red"] - skills[SKILL_FIST][SKILL_LEVEL] * 10[/COLOR][/B];
}
 
Back
Top