232 for (
uint8 i = 0; i < 3; i++)
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
#define SpellEffectFn(F, I, N)
@ EVENT_SUMMON_SPORE_STRIDER
@ SPELL_SUSPENSION_PRIMER
@ SPELL_SUMMON_SPORE_STRIDER
@ SPELL_SUMMON_SPORE_STRIDER_SCRIPT
void AddSC_boss_the_black_stalker()
void JustEngagedWith(Unit *who) override
virtual void EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
void GetHomePosition(float &x, float &y, float &z, float &ori) const
void Repeat(Milliseconds time)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
HookList< EffectHandler > OnEffectHit
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
void DoMeleeAttackIfReady()
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
SpellCastResult DoCast(uint32 spellId)
bool HasUnitState(const uint32 f) const
bool IsWithinDist3d(float x, float y, float z, float dist) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
bool Validate(SpellInfo const *) override
void HandleScript(SpellEffIndex)
PrepareSpellScript(spell_the_black_stalker_levitate)
void HandleScript(SpellEffIndex)
PrepareSpellScript(spell_the_black_stalker_levitation_pulse)
bool Validate(SpellInfo const *) override
bool Validate(SpellInfo const *) override
void HandleScript(SpellEffIndex)
PrepareSpellScript(spell_the_black_stalker_magnetic_pull)
void HandleScript(SpellEffIndex)
PrepareSpellScript(spell_the_black_stalker_someone_grab_me)
bool Validate(SpellInfo const *) override
void HandleScript(SpellEffIndex)
bool Validate(SpellInfo const *) override
PrepareSpellScript(spell_the_black_stalker_summon_spore_strider)
void UpdateAI(uint32 diff) override
void JustEngagedWith(Unit *who) override
boss_the_black_stalker(Creature *creature)
#define RegisterTheUnderbogCreatureAI(ai_name)