mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-13 21:49:49 +01:00
*Fix build.
--HG-- branch : trunk
This commit is contained in:
@@ -75,7 +75,7 @@ struct TRINITY_DLL_DECL npc_bartlebyAI : public ScriptedAI
|
||||
void Reset()
|
||||
{
|
||||
m_creature->setFaction(11);
|
||||
m_creature->setEmoteState(7);
|
||||
m_creature->SetUInt32Value(UNIT_NPC_EMOTESTATE, 7);
|
||||
|
||||
PlayerGUID = 0;
|
||||
}
|
||||
@@ -132,7 +132,7 @@ struct TRINITY_DLL_DECL npc_dashel_stonefistAI : public ScriptedAI
|
||||
void Reset()
|
||||
{
|
||||
m_creature->setFaction(11);
|
||||
m_creature->setEmoteState(7);
|
||||
m_creature->SetUInt32Value(UNIT_NPC_EMOTESTATE, 7);
|
||||
}
|
||||
|
||||
void DamageTaken(Unit *done_by, uint32 & damage)
|
||||
|
||||
@@ -301,7 +301,7 @@ struct TRINITY_DLL_DECL eye_of_cthunAI : public Scripted_NoMovementAI
|
||||
DoCast(m_creature,SPELL_RED_COLORATION);
|
||||
|
||||
//Freeze animation
|
||||
m_creature->setEmoteState(53);
|
||||
m_creature->SetUInt32Value(UNIT_NPC_EMOTESTATE, 53);
|
||||
|
||||
//Darkbeam for 35 seconds
|
||||
PhaseTimer = 35000;
|
||||
@@ -351,7 +351,7 @@ struct TRINITY_DLL_DECL eye_of_cthunAI : public Scripted_NoMovementAI
|
||||
m_creature->RemoveAurasDueToSpell(SPELL_RED_COLORATION);
|
||||
|
||||
//Freeze animation
|
||||
m_creature->setEmoteState(0);
|
||||
m_creature->SetUInt32Value(UNIT_NPC_EMOTESTATE, 0);
|
||||
m_creature->SetUInt32Value(UNIT_FIELD_FLAGS, 0);
|
||||
|
||||
//Eye Beam for 50 seconds
|
||||
@@ -397,7 +397,7 @@ struct TRINITY_DLL_DECL eye_of_cthunAI : public Scripted_NoMovementAI
|
||||
m_creature->RemoveAurasDueToSpell(SPELL_RED_COLORATION);
|
||||
|
||||
//Reset to normal emote state and prevent select and attack
|
||||
m_creature->setEmoteState(0);
|
||||
m_creature->SetUInt32Value(UNIT_NPC_EMOTESTATE, 0);
|
||||
m_creature->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_NON_ATTACKABLE);
|
||||
|
||||
//Remove Target field
|
||||
|
||||
Reference in New Issue
Block a user