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.
Good luck with your project - from the moment you take pleasure, it's the essential.
If you manage to improve performance over specific points compared to L2J (knownlist, geoengine, movement,...), don't hesitate to share back on your topic what/why you did it and the actual performance gain, if measured.
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.