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

Speed Attack

El Man

«لَا إِلَٰهَ إِلَّا ٱللَّٰهُ»
Joined
Mar 23, 2013
Messages
161
Reaction score
33
How i make speed attack faster like evolution..

uint32_t Player::getAttackSpeed()
{
Item* tool = getWeapon();
const Weapon* weapon = g_weapons->getWeapon(tool);

int hit = vocation->getAttackSpeed();
if(!tool || !weapon){
int32_t result = hit;
return result;

}else{
int fasterhit = tool->getAttackSpeedAdd();
int slowerhit = tool->getAttackSpeedRemove();
int32_t result = hit - fasterhit + slowerhit;
return result;
}
}

need some help!
 
One way of doing it, is in data > xml > vocation.xml
look for ( attackspeed="2000" ) on all vocations.
2000= 2 seconds. so if you change it to like 700 it will attack each 0.7 seconds instead of 2.
lower number = higher attack speed.

hope it helped you out mate!
 
Back
Top