47#define MAX_SPAWN_LOC 5
50 {1840.64f, 795.407f, 44.079f, 1.676f},
51 {1886.24f, 757.733f, 47.750f, 5.201f},
52 {1877.91f, 845.915f, 43.417f, 3.560f},
53 {1918.97f, 850.645f, 47.225f, 4.136f},
54 {1935.50f, 796.224f, 52.492f, 4.224f},
136 if (
me->Attack(who,
true))
138 me->AddThreat(who, 0.0f);
139 me->SetInCombatWith(who);
140 who->SetInCombatWith(
me);
153 me->ModifyHealth(
int32(
me->CountPctFromMaxHealth(1)));
161 uint32 damage =
me->CountPctFromMaxHealth(3);
162 me->ModifyHealth(-
int32(damage));
163 me->LowerPlayerDamageReq(damage);
185 me->SetVisible(
true);
186 me->GetMotionMaster()->MoveChase(
me->GetVictim());
225 me->SetVisible(
false);
226 for (
uint8 i = 0; i < 10; i++)
235 bool bIsWaterElementsAlive =
false;
242 bIsWaterElementsAlive =
true;
247 if (!bIsWaterElementsAlive)
275 me->SetVisible(
true);
300 summoned->GetMotionMaster()->MoveFollow(
me, 0, 0);
365 if (
me->IsWithinDist(pIchoron, 2.0f,
false))
369 me->DespawnOrUnsummon();
@ TEMPSUMMON_CORPSE_DESPAWN
@ UNIT_FLAG_NON_ATTACKABLE
@ ACTION_WATER_ELEMENT_KILLED
@ ACTION_WATER_ELEMENT_HIT
void AddSC_boss_ichoron()
@ SPELL_WATER_BOLT_VOLLEY_H
@ SPELL_WATER_BOLT_VOLLEY
@ SPELL_PROTECTIVE_BUBBLE
static Position SpawnLoc[MAX_SPAWN_LOC]
static Position SpawnLoc[]
AchievementCriteriaScript(const char *name)
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
virtual void EnterEvadeMode()
CreatureScript(const char *name)
void DoMeleeAttackIfReady()
void DoCast(uint32 spellId)
static Creature * GetCreature(WorldObject &object, uint64 guid)
InstanceScript * GetInstanceScript()
bool OnCheck(Player *, Unit *target) OVERRIDE
achievement_dehydration()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
bool HealthBelowPct(uint32 pct) const
ScriptedAI(Creature *creature)
void DoStartMovement(Unit *target, float distance=0.0f, float angle=0.0f)
void UpdateAI(uint32 uiDiff) OVERRIDE
== Triggered Actions Requested ==================
uint32 GetData(uint32 type) const OVERRIDE
void DespawnWaterElements()
SummonList m_waterElements
void JustSummoned(Creature *summoned) OVERRIDE
void EnterCombat(Unit *) OVERRIDE
void SummonedCreatureDespawn(Creature *summoned) OVERRIDE
void DoExplodeCompleted()
void JustDied(Unit *) OVERRIDE
uint32 uiWaterBoltVolleyTimer
void KilledUnit(Unit *victim) OVERRIDE
boss_ichoronAI(Creature *creature)
void AttackStart(Unit *who) OVERRIDE
uint32 uiBubbleCheckerTimer
void MoveInLineOfSight(Unit *) OVERRIDE
void DoAction(int32 param) OVERRIDE
InstanceScript * instance
npc_ichor_globuleAI(Creature *creature)
void AttackStart(Unit *) OVERRIDE
InstanceScript * instance
void JustDied(Unit *) OVERRIDE
uint32 uiRangeCheck_Timer
void UpdateAI(uint32 uiDiff) OVERRIDE
== Triggered Actions Requested ==================