Pelf

Pelf sindragosa 3 (lich king)

May 4th, 2012
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.80 KB | None | 0 0
  1. diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp
  2. index f0318bc..5723d31 100644
  3. --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp
  4. +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp
  5. @@ -1200,8 +1200,8 @@ class spell_sindragosa_ice_tomb : public SpellScriptLoader
  6.              {
  7.                  if (!sObjectMgr->GetCreatureTemplate(NPC_ICE_TOMB))
  8.                      return false;
  9. -                if (!sObjectMgr->GetGameObjectTemplate(GO_ICE_BLOCK))
  10. -                    return false;
  11. +                //if (!sObjectMgr->GetGameObjectTemplate(GO_ICE_BLOCK))
  12. +                    //return false;
  13.                  return true;
  14.              }
  15.  
  16. @@ -1212,11 +1212,11 @@ class spell_sindragosa_ice_tomb : public SpellScriptLoader
  17.                  if (TempSummon* summon = GetCaster()->SummonCreature(NPC_ICE_TOMB, pos))
  18.                  {
  19.                      summon->AI()->SetGUID(GetHitUnit()->GetGUID(), DATA_TRAPPED_PLAYER);
  20. -                    if (GameObject* go = summon->SummonGameObject(GO_ICE_BLOCK, pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ(), pos.GetOrientation(), 0.0f, 0.0f, 0.0f, 0.0f, 0))
  21. -                    {
  22. -                        go->SetSpellId(SPELL_ICE_TOMB_DAMAGE);
  23. -                        summon->AddGameObject(go);
  24. -                    }
  25. +                    //if (GameObject* go = summon->SummonGameObject(GO_ICE_BLOCK, pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ(), pos.GetOrientation(), 0.0f, 0.0f, 0.0f, 0.0f, 0))
  26. +                    //{
  27. +                        //go->SetSpellId(SPELL_ICE_TOMB_DAMAGE);
  28. +                        //summon->AddGameObject(go);
  29. +                    //}
  30.                  }
  31.              }
Advertisement
Add Comment
Please, Sign In to add comment