Pelf

Pelf putricide 2 (lich king)

May 9th, 2012
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.23 KB | None | 0 0
  1. diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp
  2. index a333cb7..82f10d4 100755
  3. --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp
  4. +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp
  5. @@ -709,6 +709,9 @@ class npc_volatile_ooze : public CreatureScript
  6.          {
  7.              npc_putricide_oozeAI(Creature* creature) : ScriptedAI(creature)
  8.              {
  9. +               me->ApplySpellImmune(0, IMMUNITY_EFFECT, SPELL_EFFECT_KNOCK_BACK, true);
  10. +               me->ApplySpellImmune(0, IMMUNITY_MECHANIC, MECHANIC_GRIP, true);
  11. +               me->SetSpeed(MOVE_RUN, 0.7f);
  12.                  _newTargetSelectTimer = 0;
  13.              }
  14.  
  15. @@ -762,7 +765,10 @@ class npc_gas_cloud : public CreatureScript
  16.          struct npc_gas_cloudAI : public ScriptedAI
  17.          {
  18.              npc_gas_cloudAI(Creature* creature) : ScriptedAI(creature)
  19. -            {
  20. +            { 
  21. +               me->ApplySpellImmune(0, IMMUNITY_EFFECT, SPELL_EFFECT_KNOCK_BACK, true);
  22. +               me->ApplySpellImmune(0, IMMUNITY_MECHANIC, MECHANIC_GRIP, true);
  23. +               me->SetSpeed(MOVE_RUN, 0.7f);
  24.                  _newTargetSelectTimer = 0;
  25.              }
Advertisement
Add Comment
Please, Sign In to add comment