#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
#define SpellEffectFn(F, I, N)
void AddSC_boss_krystallus()
void JustEngagedWith(Unit *who) override
void Repeat(Milliseconds time)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
float CalcRadius(WorldObject *caster=nullptr, Spell *=nullptr) const
int32 GetHitDamage() const
HookList< HitHandler > OnHit
Unit * GetHitUnit() const
SpellEffectInfo const & GetEffectInfo() const
HookList< EffectHandler > OnEffectHitTarget
void SetHitDamage(int32 damage)
void DoMeleeAttackIfReady()
SpellCastResult DoCastSelf(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
float GetDistance2d(WorldObject const *obj) const
PrepareSpellScript(spell_krystallus_shatter_effect)
PrepareSpellScript(spell_krystallus_shatter)
void HandleScript(SpellEffIndex)
#define RegisterHallsOfStoneCreatureAI(ai_name)
void UpdateAI(uint32 diff) override
void OnSpellCast(SpellInfo const *spell) override
boss_krystallus(Creature *creature)
void KilledUnit(Unit *victim) override
void JustEngagedWith(Unit *who) override
void JustDied(Unit *) override