Pelf

devourer_of_souls1

Aug 2nd, 2011
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.10 KB | None | 0 0
  1. diff --git a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp
  2. index 734ee53..53b22fe 100644
  3. --- a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp
  4. +++ b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp
  5. @@ -240,6 +240,17 @@ class boss_devourer_of_souls : public CreatureScript
  6.                      threeFaced = false;
  7.              }
  8.  
  9. +           void SpellHit(Unit* caster, SpellEntry const* spell)
  10. +           {
  11. +               if (me->GetCurrentSpell(CURRENT_GENERIC_SPELL))
  12. +                   if ((me->GetCurrentSpell(CURRENT_GENERIC_SPELL)->m_spellInfo->Id == 68982) || // Призрачный взрыв н
  13. +                       (me->GetCurrentSpell(CURRENT_GENERIC_SPELL)->m_spellInfo->Id == 70322)) // г
  14. +                       for (uint8 i = 0; i < 3; ++i)
  15. +                           if (spell->Effect[i] == SPELL_EFFECT_INTERRUPT_CAST)
  16. +                               me->InterruptSpell(CURRENT_GENERIC_SPELL, false);
  17. +
  18. +           }
  19. +
  20.              uint32 GetData(uint32 type)
  21.              {
  22.                  if (type == DATA_THREE_FACED)
Advertisement
Add Comment
Please, Sign In to add comment