Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 854720f877026b63829f2b64f0f9d509d9de0f9e Mon Sep 17 00:00:00 2001
- From: unknown <cristi@cristis-PC.(none)>
- Date: Sun, 29 Jul 2012 16:36:00 +0300
- Subject: [PATCH] Fix LightWell - Priest
- ---
- src/server/scripts/World/npcs_special.cpp | 7 +++++++
- 1 file changed, 7 insertions(+)
- diff --git a/src/server/scripts/World/npcs_special.cpp b/src/server/scripts/World/npcs_special.cpp
- index 030309d..4cae0ed 100644
- --- a/src/server/scripts/World/npcs_special.cpp
- +++ b/src/server/scripts/World/npcs_special.cpp
- @@ -2054,9 +2054,16 @@ public:
- {
- npc_lightwellAI(Creature* creature) : PassiveAI(creature) {}
- + void DoAction(int32 const action)
- + {
- + if (action != EVENT_SPELLCLICK)
- + return;
- + }
- +
- void Reset()
- {
- DoCast(me, 59907, false); // Spell for Lightwell Charges
- + me->SetFlag(UNIT_NPC_FLAGS,UNIT_NPC_FLAG_SPELLCLICK);
- }
- void EnterEvadeMode()
- --
- 1.7.10.msysgit.1
Advertisement
Add Comment
Please, Sign In to add comment