Jump to content

Langerz82

Bug Tester
  • Posts

    64
  • Joined

  • Last visited

  • Days Won

    1
  • Donations

    0.00 GBP 

Langerz82 last won the day on April 30 2020

Langerz82 had the most liked content!

Core Infomation

  • Core
    Zero

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Langerz82's Achievements

Advanced Member

Advanced Member (3/3)

1

Reputation

  1. Dup see: https://www.getmangos.eu/bug-tracker/mangos-zero/Menu-Blocker---GM-Mode-stops-m-r482/
  2. Is this still an issue with the latest version?
  3. Is this still an issue with the latest Revision?
  4. Likely fixed in latest Revision, If it's still bugged please re-open issue with more detail.
  5. SELECT * FROM mangos0.creature WHERE id = 8901; It's set to 20 secs for most of them. What should it be?
  6. Is this still occurring? Cosmetic only please change to priority Low.
  7. Is this still an issue with latest revision?
  8. edit: it's Seal of Command and it's been fixed on latest version. Closed.
  9. Needs testing: Langerz82/WoWZeroDisableOwnerDefaultChannel.patch
  10. Implementation. Note - The speeds have to be adjusted in Database to match the Pet attack speeds: http://www.wow-petopia.com/classic/attackspeed.php diff --git a/src/game/Object/Pet.cpp b/src/game/Object/Pet.cpp index 7ec1822..37ac5d9 100644 --- a/src/game/Object/Pet.cpp +++ b/src/game/Object/Pet.cpp @@ -1092,9 +1092,30 @@ bool Pet::InitStatsForLevel(uint32 petlevel, Unit* owner) SetModifierValue(UNIT_MOD_ARMOR, BASE_VALUE, float(petlevel * 50)); - SetAttackTime(BASE_ATTACK, cinfo->MeleeBaseAttackTime); - SetAttackTime(OFF_ATTACK, cinfo->MeleeBaseAttackTime); - SetAttackTime(RANGED_ATTACK, cinfo->RangedBaseAttackTime); + CreatureInfo const* creatureInfo = ObjectMgr::GetCreatureTemplate(creature_ID); + if (creatureInfo) + { + if (creatureInfo->MeleeBaseAttackTime > 0) + SetAttackTime(BASE_ATTACK, creatureInfo->MeleeBaseAttackTime); + else + SetAttackTime(BASE_ATTACK, BASE_ATTACK_TIME); + + if (creatureInfo->MeleeBaseAttackTime > 0) + SetAttackTime(OFF_ATTACK, creatureInfo->MeleeBaseAttackTime); + else + SetAttackTime(OFF_ATTACK, BASE_ATTACK_TIME); + + if (creatureInfo->RangedBaseAttackTime > 0) + SetAttackTime(RANGED_ATTACK, creatureInfo->RangedBaseAttackTime); + else + SetAttackTime(RANGED_ATTACK, BASE_ATTACK_TIME); + } + else + { + SetAttackTime(BASE_ATTACK, BASE_ATTACK_TIME); + SetAttackTime(OFF_ATTACK, BASE_ATTACK_TIME); + SetAttackTime(RANGED_ATTACK, BASE_ATTACK_TIME); + } SetFloatValue(UNIT_MOD_CAST_SPEED, 1.0);
  11. I think this issue has been fixed latest revision. Let me know if it's still an issue.
×
×
  • 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