Jump to content
  • All hunters catch the pet attack speed is 2.0

    • Status: Unconfirmed
      Main Category: Script (Eluna / SD3)
      Sub-Category: instancehandling
      Version: 21.5.x Milestone: 20 Priority: New
      Implemented Version: 0.20

    All hunters catch the pet attack speed is 2.0

    All hunters catch the pet attack speed is 2.0

    User Feedback

    Recommended Comments

    Please test under this section of code.

    SetModifierValue(UNIT_MOD_ARMOR, BASE_VALUE, float(petlevel * 50));

    + SetAttackTime(BASE_ATTACK, cinfo->MeleeBaseAttackTime);
    + SetAttackTime(OFF_ATTACK, cinfo->MeleeBaseAttackTime);
    + SetAttackTime(RANGED_ATTACK, cinfo->RangedBaseAttackTime);

    SetFloatValue(UNIT_MOD_CAST_SPEED, 1.0);


    - SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float(petlevel - (petlevel / 4)));
    - SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(petlevel + (petlevel / 4)));
    + SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float(0.5*GetAttackTime(BASE_ATTACK)*(petlevel - (petlevel / 4)) / 1000));
    + SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(0.5*GetAttackTime(BASE_ATTACK)*(petlevel + (petlevel / 4)) / 1000));

    // SetModifierValue(UNIT_MOD_ATTACK_POWER, BASE_VALUE, float(cinfo->attackpower));

    Thank you zwisus .

    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use