L2JMobius

Fafurion Help, bow attack speed

musicgyz · 7 · 3262

Offline musicgyz

  • Elder
  • ****
    • Posts: 197
Is there a problem with the attack speed of the bow? The main reason is that the hands-on pause is too long.

Mobius has provided a method before, but that method is too fast. Is there any other method?

Code: [Select]
final int reuse = (int) (Formulas.calculateReuseTime(this, weaponItem) / (Math.max(1, _stat.getAttackSpeedMultiplier() - 1)));
too fast.....



Online Mobius

  • Distinguished King
  • *****
    • Posts: 16010
You can make any calculation you want this way.


Offline musicgyz

  • Elder
  • ****
    • Posts: 197
Is it possible to make an example, I don't know how to calculate, it would be better if I could give a complete file.


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16010

Offline Iris

  • Distinguished King
  • *****
    • Posts: 1239
The "reuse time problem" for bow attacks has been reported multiple times, but no one has yet provided a video or example from official servers in order for us to make a decent comparison between the two


Offline musicgyz

  • Elder
  • ****
    • Posts: 197
Code: [Select]
public int calculateReuseTime(final L2Weapon weapon)
{
if (isTransformed())
{
switch (getAttackType())
{
case BOW:
return (int) ((1500 * 333 * getStat().getWeaponReuseModifier(null)) / getStat().getPAtkSpd());
case CROSSBOW:
return (int) ((1200 * 333 * getStat().getWeaponReuseModifier(null)) / getStat().getPAtkSpd());
}
}

if ((weapon == null) || (weapon.getReuseDelay() == 0))
{
return 0;
}

return (int) ((weapon.getReuseDelay() * 333) / getPAtkSpd());
}

This was the normal setting before.
The normal attack speed is slowly increased, rather than fixed at the same speed, mainly the starting speed, which is basically once every 1 second. This is completely wrong, that is, the swing time is too long.


Offline L2windy

  • Heir
  • **
    • Posts: 25
The "reuse time problem" for bow attacks has been reported multiple times, but no one has yet provided a video or example from official servers in order for us to make a decent comparison between the two


This is the official attack speed.