62#define MAX_Y_COORD_OH_NOVOS -771.95f
99 if (
me->Attack(target,
true))
157 uint32 entry = who->GetEntry();
197 for (
uint8 i = 0; i < 4; i++)
204 crystalChannelTarget->AI()->Reset();
210 for (
uint8 i = 0; i < 4; i++)
224 crystalChannelTarget->CastStop();
230 for (
uint8 i = 0; i < 4; i++)
306 novos->AI()->JustSummoned(summon);
309 summon->GetMotionMaster()->MovePath(summon->GetEntry() * 100,
false);
356 for (
uint8 i = 0; i < 2; ++i)
const T & RAND(const T &v1, const T &v2)
@ SPELL_EFFECT_SCRIPT_EFFECT
#define SpellEffectFn(F, I, N)
@ UNIT_FLAG_NON_ATTACKABLE
@ ACTION_ACTIVATE_CRYSTAL
@ SPELL_SUMMON_CRYSTAL_HANDLER
@ SPELL_SUMMON_FETID_TROLL_CORPSE
@ SPELL_SUMMON_RISEN_SHADOWCASTER
@ SPELL_SUMMON_COPY_OF_MINIONS
@ SPELL_SUMMON_HULKING_CORPSE
const SummonerInfo summoners[]
#define MAX_Y_COORD_OH_NOVOS
AchievementCriteriaScript(const char *name)
InstanceScript *const instance
BossAI(Creature *creature, uint32 bossId)
virtual void MoveInLineOfSight(Unit *)
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
CreatureScript(const char *name)
void SetGoState(GOState state)
HookList< EffectHandler > OnEffectHitTarget
SpellScriptLoader(const char *name)
void DoCast(uint32 spellId)
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
static Creature * GetCreature(WorldObject &object, uint64 guid)
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
bool OnCheck(Player *, Unit *target) OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
npc_crystal_channel_target()
void HandleScript(SpellEffIndex)
bool Validate(SpellInfo const *) OVERRIDE
PrepareSpellScript(spell_novos_summon_minions_SpellScript)
SpellScript * GetSpellScript() const OVERRIDE
spell_novos_summon_minions()
AI * GetDrakTharonKeepAI(Creature *creature)
@ NPC_CRYSTAL_CHANNEL_TARGET
@ ACTION_CRYSTAL_HANDLER_DIED
void DoStartNoMovement(Unit *target)
ScriptedAI(Creature *creature)
uint32 GetData(uint32 type) const OVERRIDE
void CrystalHandlerDied()
void SetCrystalStatus(GameObject *crystal, bool active)
void SetCrystalsStatus(bool active)
void EnterCombat(Unit *) OVERRIDE
void KilledUnit(Unit *who) OVERRIDE
void AttackStart(Unit *target) OVERRIDE
void JustDied(Unit *) OVERRIDE
void SetBubbled(bool state)
void DoAction(int32 action) OVERRIDE
void SetSummonerStatus(bool active)
uint8 _crystalHandlerCount
void MoveInLineOfSight(Unit *who) OVERRIDE
boss_novosAI(Creature *creature)
void JustSummoned(Creature *summon) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void SetData(uint32 id, uint32 value) OVERRIDE
npc_crystal_channel_targetAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void JustSummoned(Creature *summon) OVERRIDE