111 for (
uint8 n = 0; n < 3; ++n)
204 if (type == 0 && data == 1)
223 for (
uint8 n = 0; n < 3; ++n)
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ AURA_EFFECT_HANDLE_REAL
#define SpellEffectFn(F, I, N)
#define AuraEffectApplyFn(F, I, N, M)
@ UNIT_FLAG_UNINTERACTIBLE
@ SPELL_SUMMON_CLONE_FROST
@ SPELL_SUMMON_CLONE_FIRE
@ SPELL_CLONE_DIES_ARCANE
@ SPELL_SUMMON_CLONE_ARCANE
@ SPELL_WEAR_CHRISTMAS_HAT
void AddSC_boss_magus_telestra()
HookList< EffectApplyHandler > AfterEffectApply
void JustEngagedWith(Unit *who) override
void SetDisplayId(uint32 modelId) override
void SetReactState(ReactStates st)
void Repeat(Milliseconds time)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
static Creature * ToCreature(Object *o)
HookList< EffectHandler > OnEffectHit
void AttackStartCaster(Unit *victim, float dist)
void DoMeleeAttackIfReady()
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
Aura * AddAura(uint32 spellId, Unit *target)
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
bool HasUnitState(const uint32 f) const
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
void SetUnitFlag(UnitFlags flags)
void RemoveUnitFlag(UnitFlags flags)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
achievement_split_personality()
bool OnCheck(Player *, Unit *target) override
bool Validate(SpellInfo const *) override
void AfterApply(AuraEffect const *, AuraEffectHandleModes)
PrepareAuraScript(spell_magus_telestra_clone_dies)
bool Validate(SpellInfo const *) override
PrepareSpellScript(spell_magus_telestra_summon_clones)
void HandleScript(SpellEffIndex)
#define RegisterNexusCreatureAI(ai_name)
void SetEquipmentSlots(bool loadDefault, int32 mainHand=EQUIP_NO_CHANGE, int32 offHand=EQUIP_NO_CHANGE, int32 ranged=EQUIP_NO_CHANGE)
uint32 GetData(uint32 type) const override
void OnSpellCast(SpellInfo const *spell) override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void DoAction(int32 action) override
void SpellHit(WorldObject *, SpellInfo const *spellInfo) override
void SetData(uint32 type, uint32 data) override
void JustEngagedWith(Unit *who) override
void AttackStart(Unit *who) override
void JustDied(Unit *) override
boss_magus_telestra(Creature *creature)
void UpdateAI(uint32 diff) override
void KilledUnit(Unit *who) override