L2JMobius

Free Users => General Discussion => Topic started by: k032579 on December 27, 2020, 12:30:23 AM

Title: A little question...
Post by: k032579 on December 27, 2020, 12:30:23 AM
I have a question about Fafurion version reuse time problem for bow attacks

Is there a problem with the attack speed of the bow? The main reason is that the hands-on pause is too long.

I have read some articles and it says that there are related ways to improve before.
 Can someone give me a link for me to see? Or tell me the solution

Finally, thanks for having this forum to make me progress.
Title: Re: A little question...
Post by: Trance on December 27, 2020, 04:02:05 PM
Hi, I believe it was already fixed on the private version.
Title: Re: A little question...
Post by: Mobius on December 27, 2020, 05:02:49 PM
I do not think it was done properly tho.
Better check Creature onAttack method or something like that.
And make your own adjustments.
Title: Re: A little question...
Post by: k032579 on December 27, 2020, 11:41:47 PM

Hello, I don’t quite understand how to do it, can you tell me in detail where to look for it?
Title: Re: A little question...
Post by: Mobius on December 27, 2020, 11:43:07 PM
I already did.
Creature onAttack method
Title: Re: A little question...
Post by: k032579 on December 28, 2020, 01:02:04 AM
I already did.
Creature onAttack method


  public static int calculateTimeToHit(int totalAttackTime, WeaponType attackType, boolean twoHanded, boolean secondHit) {
    switch (attackType) {
      case BOW:
      case CROSSBOW:
      case TWOHANDCROSSBOW:
        return (int)(totalAttackTime * 0.95D);

This is the query in the direction you mentioned. Is this string of codes correct?

If it is correct, I want to know how his time is calculated