aboutsummaryrefslogtreecommitdiff
path: root/src/bindings/scripts
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-12 23:06:51 -0600
committermegamage <none@none>2008-11-12 23:06:51 -0600
commit55d58ea878c32215ba11aeb30a2993f2768353f3 (patch)
tree85e620d3ee990ff193a58601f6ab804b939af45d /src/bindings/scripts
parent379bc3682cd3c5635bac2f30165539d89102c0c4 (diff)
[svn] Fix blink. Bug: can blink through door. Author: GodsdoG.
Fix blessed recovery and martyrdom. Patch provided by Gomez. setActive for Akama shade to see if this can fix the bug that it cannot find channeler. --HG-- branch : trunk
Diffstat (limited to 'src/bindings/scripts')
-rw-r--r--src/bindings/scripts/scripts/zone/black_temple/boss_shade_of_akama.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bindings/scripts/scripts/zone/black_temple/boss_shade_of_akama.cpp b/src/bindings/scripts/scripts/zone/black_temple/boss_shade_of_akama.cpp
index 0d846c956bb..9c1d50950dc 100644
--- a/src/bindings/scripts/scripts/zone/black_temple/boss_shade_of_akama.cpp
+++ b/src/bindings/scripts/scripts/zone/black_temple/boss_shade_of_akama.cpp
@@ -196,6 +196,7 @@ struct TRINITY_DLL_DECL boss_shade_of_akamaAI : public ScriptedAI
void Reset()
{
+ m_creature->setActive(true); // TODO: setActive(true, time);
FindChannelers();
if(!Channelers.empty())
@@ -212,9 +213,9 @@ struct TRINITY_DLL_DECL boss_shade_of_akamaAI : public ScriptedAI
}
if(m_creature->isAlive())
{
- Channeler->CastSpell(m_creature, SPELL_SHADE_SOUL_CHANNEL, true);
- Channeler->CastSpell(m_creature, SPELL_SHADE_SOUL_CHANNEL_2, true);
- Channeler->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
+ Channeler->CastSpell(m_creature, SPELL_SHADE_SOUL_CHANNEL, true);
+ Channeler->CastSpell(m_creature, SPELL_SHADE_SOUL_CHANNEL_2, true);
+ Channeler->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
}
}
}