Advertisement
Guest User

Untitled

a guest
Dec 13th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. diff --git a/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp
  2. index a3c150b9de..75601a290f 100644
  3. --- a/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp
  4. +++ b/src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp
  5. @@ -320,7 +320,7 @@ class instance_icecrown_citadel : public InstanceMapScript
  6. }
  7.  
  8. // Weekly quest spawn prevention
  9. - uint32 GetCreatureEntry(ObjectGuid::LowType /*guidLow*/, CreatureData const* data) override
  10. + uint32 GetCreatureEntry(ObjectGuid::LowType guidLow, CreatureData const* data) override
  11. {
  12. if (!TeamInInstance)
  13. {
  14. @@ -403,7 +403,16 @@ class instance_icecrown_citadel : public InstanceMapScript
  15. break;
  16. }
  17.  
  18. + switch (guidLow)
  19. + {
  20. + case 120678:
  21. + if (TeamInInstance == HORDE)
  22. + return 0;
  23. + break;
  24. + }
  25. +
  26. return entry;
  27. +
  28. }
  29.  
  30. uint32 GetGameObjectEntry(ObjectGuid::LowType /*guidLow*/, uint32 entry) override
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement