*Remove an useless hack from Felmyst.

--HG--
branch : trunk
This commit is contained in:
hunteee
2009-05-24 21:33:54 +02:00
parent 4423ac3194
commit 19137630db
@@ -46,8 +46,8 @@ enum Spells
SPELL_CORROSION = 45866, SPELL_CORROSION = 45866,
SPELL_GAS_NOVA = 45855, SPELL_GAS_NOVA = 45855,
SPELL_ENCAPSULATE_CHANNEL = 45661, SPELL_ENCAPSULATE_CHANNEL = 45661,
SPELL_ENCAPSULATE_EFFECT = 45665, // SPELL_ENCAPSULATE_EFFECT = 45665,
SPELL_ENCAPSULATE_AOE = 45662, // SPELL_ENCAPSULATE_AOE = 45662,
//Flight phase //Flight phase
SPELL_VAPOR_SELECT = 45391, // fel to player, force cast 45392, 50000y selete target SPELL_VAPOR_SELECT = 45391, // fel to player, force cast 45392, 50000y selete target
@@ -474,7 +474,6 @@ struct TRINITY_DLL_DECL boss_felmystAI : public ScriptedAI
if(Unit* target = SelectUnit(SELECT_TARGET_RANDOM, 0, 150, true)) if(Unit* target = SelectUnit(SELECT_TARGET_RANDOM, 0, 150, true))
{ {
m_creature->CastSpell(target, SPELL_ENCAPSULATE_CHANNEL, false); m_creature->CastSpell(target, SPELL_ENCAPSULATE_CHANNEL, false);
target->CastSpell(target, SPELL_ENCAPSULATE_EFFECT, true);// linked aura, need core patch to remove this hack
Timer[EVENT_ENCAPSULATE] = 25000 + rand()%5 * 1000; Timer[EVENT_ENCAPSULATE] = 25000 + rand()%5 * 1000;
}break; }break;
case EVENT_FLIGHT: case EVENT_FLIGHT: