daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp
  2. index 931d63d..3107ca9 100644
  3. --- a/src/server/scripts/Spells/spell_hunter.cpp
  4. +++ b/src/server/scripts/Spells/spell_hunter.cpp
  5. @@ -26,7 +26,6 @@
  6.  
  7.  enum HunterSpells
  8.  {
  9. -    HUNTER_SPELL_READINESS                       = 23989,
  10.      HUNTER_SPELL_BESTIAL_WRATH                   = 19574,
  11.      HUNTER_PET_SPELL_LAST_STAND_TRIGGERED        = 53479,
  12.      HUNTER_PET_HEART_OF_THE_PHOENIX              = 55709,
  13. @@ -278,9 +277,9 @@ public:
  14.                  ///! If spellId in cooldown map isn't valid, the above will return a null pointer.
  15.                  if (spellInfo &&
  16.                      spellInfo->SpellFamilyName == SPELLFAMILY_HUNTER &&
  17. -                    spellInfo->Id != HUNTER_SPELL_READINESS &&
  18.                      spellInfo->Id != HUNTER_SPELL_BESTIAL_WRATH &&
  19. -                    GetSpellRecoveryTime(spellInfo) > 0)
  20. +                    GetSpellRecoveryTime(spellInfo) > 0 &&
  21. +                    spellInfo->spellLevel > 1) // excludes Readiness, Gift of the Naaru and etc
  22.                      caster->ToPlayer()->RemoveSpellCooldown((itr++)->first, true);
  23.                  else
  24.                      ++itr;
RAW Paste Data
Top