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;
}
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
guishermo15
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;
}
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.