L2JMobius

Fafurion A little question...

k032579 · 6 · 2471

Offline k032579

  • Heir
  • **
    • Posts: 36
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.


Offline Trance

  • Elder
  • ****
    • Posts: 126
Hi, I believe it was already fixed on the private version.


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16056
I do not think it was done properly tho.
Better check Creature onAttack method or something like that.
And make your own adjustments.


Offline k032579

  • Heir
  • **
    • Posts: 36

Hello, I don’t quite understand how to do it, can you tell me in detail where to look for it?


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16056

Offline k032579

  • Heir
  • **
    • Posts: 36
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