Pelf

Pelf dk pack 2

Apr 25th, 2012
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.50 KB | None | 0 0
  1. diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp
  2. index e3b8d31..fafa9e4 100644
  3. --- a/src/server/game/Spells/Spell.cpp
  4. +++ b/src/server/game/Spells/Spell.cpp
  5. @@ -3886,32 +3886,6 @@ void Spell::finish(bool ok)
  6.  
  7.      switch (m_spellInfo->Id)
  8.          {
  9. -            case 49143: // Frost Strike
  10. -            case 47541: // Death Coil
  11. -            case 56815: // Rune Strike
  12. -                if(m_caster->HasAura(81229)) // Runic Empowerment
  13. -                {
  14. -                    if(roll_chance_i(45))
  15. -                    {
  16. -                        uint32 cooldownrunes[MAX_RUNES];
  17. -                        uint8 runescount = 0;
  18. -                        for (uint32 j = 0; j < MAX_RUNES; ++j)
  19. -                        {
  20. -                            if (m_caster->ToPlayer()->GetRuneCooldown(j))
  21. -                            {
  22. -                                cooldownrunes[runescount] = j;
  23. -                                runescount++;
  24. -                            }
  25. -                        }
  26. -                        if (runescount > 0)
  27. -                        {
  28. -                            uint8 rndrune = urand(0,runescount-1);
  29. -                            m_caster->ToPlayer()->SetRuneCooldown(cooldownrunes[rndrune], 0);
  30. -                        }
  31. -                    }
  32. -                }
  33. -                break;
  34.              case 30455: // Ice Lance
  35.              case 44572: // Deep Freeze
  36.                  if (m_caster->HasAura(44544)) // Fingers of Frost
Advertisement
Add Comment
Please, Sign In to add comment