• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Skill Speed attack

dragonballfb

New Member
Joined
Mar 31, 2012
Messages
15
Reaction score
2
Hello, I would like to do skill attack speed. That increases our speed after attacks Axe.
He wants to replace it with a skill FIST.
I have a script
PHP:
uint32_t Player::getAttackSpeed()
{
	uint32_t attackSpeed = vocation->getAttackSpeed();
	uint32_t skilll = getSkill(SKILL_FIST, SKILL_LEVEL);

	Item* weapon = getWeapon();
	if(weapon)
	{
		if(weapon->getAttackSpeed() != 0)
			attackSpeed = weapon->getAttackSpeed();
	}
	return attackSpeed - (skilll * 10);
}

But does not work for TFS 0.3.6.
I'm sorry for the mistakes of the Polish
 
Back
Top Bottom