• 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.

Tfs 0.4 0.4.6 & Otx Fast Attack by 2 Steps (Actualizado)

adric21

Well-Known Member
Joined
Apr 26, 2016
Messages
282
Solutions
1
Reaction score
76
Find inPlayer.cpp:
Code:
uint32_t Player::getAttackSpeed() const

Later change this fuction by:
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;
    }
}
 
I will add this code for 0.3.6 too:
Here we go
Code:
uint32_t Player::getAttackSpeed()
{
    int32_t SpeedAttack;
    SpeedAttack = vocation->getAttackSpeed() - (getSkill(SKILL_SWORD, SKILL_LEVEL) * 10);

    if (SpeedAttack < 500) {
        return 500;
    } else {
        return (uint32_t) SpeedAttack;
    }
}
 
Back
Top