Pelf

Pelf repentance 1

Apr 26th, 2012
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.86 KB | None | 0 0
  1. diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp
  2. index 76b371b..71f512a 100644
  3. --- a/src/server/game/Entities/Unit/Unit.cpp
  4. +++ b/src/server/game/Entities/Unit/Unit.cpp
  5. @@ -8979,6 +8979,15 @@ bool Unit::HandleAuraProc(Unit * pVictim, uint32 damage, Aura * triggeredByAura,
  6.                  }
  7.                  return true;
  8.              }
  9. +            // Repentance aura drop
  10. +            else if (dummySpell->Id == 20066)
  11. +            {
  12. +                *handled = true;
  13. +                if (procSpell && procSpell->SpellFamilyName == SPELLFAMILY_PALADIN &&
  14. +                procSpell->SpellFamilyFlags[0] == 0x20000000 && procSpell->SpellFamilyFlags[1] == 0x00000800)
  15. +                    return false;
  16. +                return true;
  17. +            }
  18.              break;
  19.          }
  20.          case SPELLFAMILY_SHAMAN:
Advertisement
Add Comment
Please, Sign In to add comment