casucristy

s

Jul 29th, 2012
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.00 KB | None | 0 0
  1. From 854720f877026b63829f2b64f0f9d509d9de0f9e Mon Sep 17 00:00:00 2001
  2. From: unknown <cristi@cristis-PC.(none)>
  3. Date: Sun, 29 Jul 2012 16:36:00 +0300
  4. Subject: [PATCH] Fix LightWell - Priest
  5.  
  6. ---
  7.  src/server/scripts/World/npcs_special.cpp |    7 +++++++
  8.  1 file changed, 7 insertions(+)
  9.  
  10. diff --git a/src/server/scripts/World/npcs_special.cpp b/src/server/scripts/World/npcs_special.cpp
  11. index 030309d..4cae0ed 100644
  12. --- a/src/server/scripts/World/npcs_special.cpp
  13. +++ b/src/server/scripts/World/npcs_special.cpp
  14. @@ -2054,9 +2054,16 @@ public:
  15.      {
  16.          npc_lightwellAI(Creature* creature) : PassiveAI(creature) {}
  17.  
  18. +        void DoAction(int32 const action)
  19. +        {
  20. +            if (action != EVENT_SPELLCLICK)
  21. +                return;       
  22. +        }
  23. +
  24.          void Reset()
  25.          {
  26.              DoCast(me, 59907, false); // Spell for Lightwell Charges
  27. +            me->SetFlag(UNIT_NPC_FLAGS,UNIT_NPC_FLAG_SPELLCLICK); 
  28.          }
  29.  
  30.          void EnterEvadeMode()
  31. --
  32. 1.7.10.msysgit.1
Advertisement
Add Comment
Please, Sign In to add comment