Jump to content

Langerz82

Bug Tester
  • Content Count

    64
  • Donations

    0.00 GBP 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Langerz82

  • Rank
    Advanced Member

Core Infomation

  • Core
    Zero

Recent Profile Visitors

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

  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.

Contact Us

To contact us click here
You can also email us at [email protected]

Privacy Policy | Terms & Conditions

Repositories

The Link to the master list
of MaNGOS repositories:
Copyright © getMaNGOS. All rights Reserved.

This website is in no way associated with or endorsed by Blizzard Entertainment®
×
×
  • Create New...