Hi people,add these two codes, but my problem is as follows, he could fix the error of atk spd. It only appears when changing from weapon to weapon, for example the bow is equipped, they attack, and they change to a blade and the bug is executed. What I need is that when there is a weapon exchange, it has a certain hit delay.I have flood protector for movements,only this bug remains.I use jfrozen.
useitem.java
//Eliminando Bug Attack Speed
if (item.isEquipped())
{
activeChar.abortAttack();
//AGREGAR UN DELAY QUE FUNCIONE
}
//Eliminado Bug de Attack Speed
if (activeChar.isAttackingNow())
{
return;
}