183 .TriggeringAura = aurEff
197 .TriggeringAura = aurEff,
215 ObjectGuid const* explosionTargetGUID = std::any_cast<ObjectGuid>(&
GetSpell()->m_customArg);
216 if (!explosionTargetGUID)
219 targets.remove_if([explosionTargetGUID](
WorldObject const* target) ->
bool
221 return target->
GetGUID() == *explosionTargetGUID;
#define RegisterCreatureAI(ai_name)
#define RegisterSpellAndAuraScriptPair(script_1, script_2)
#define RegisterSpellScript(spell_script)
@ TARGET_UNIT_DEST_AREA_ENEMY
@ AURA_EFFECT_HANDLE_REAL
@ SPELL_AURA_PERIODIC_DUMMY
@ TRIGGERED_IGNORE_CAST_IN_PROGRESS
Will not check if a current cast is in progress.
@ TRIGGERED_DONT_REPORT_CAST_ERROR
Will return SPELL_FAILED_DONT_REPORT in CheckCast functions.
#define SpellEffectFn(F, I, N)
#define SpellObjectAreaTargetSelectFn(F, I, N)
#define AuraEffectPeriodicFn(F, I, N)
#define AuraEffectRemoveFn(F, I, N, M)
@ SPELL_SHADOW_BOLT_VOLLEY
@ SPELL_MARK_OF_KAZZAK_DAMAGE
@ SPELL_MARK_OF_KAZZAK_SELECTOR
@ SPELL_MARK_OF_KAZZAK_PERIODIC
@ SPELL_MARK_OF_KAZZAK_EXPLOSION
@ EVENT_SHADOW_BOLT_VOLLEY
void AddSC_boss_lord_kazzak_anniversary()
AuraApplication const * GetTargetApplication() const
HookList< EffectApplyHandler > AfterEffectRemove
HookList< EffectPeriodicHandler > OnEffectPeriodic
bool ModStackAmount(int32 num, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
ObjectGuid const & GetGUID() const
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
Aura * GetHitAura(bool dynObjAura=false, bool withRemoved=false) const
HookList< HitHandler > AfterHit
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
SpellInfo const * GetSpellInfo() const
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
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 HealthBelowPctDamaged(float pct, uint32 damage) const
bool HasUnitState(const uint32 f) const
void JustEngagedWith(Unit *) override
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
void FilterTargets(std::list< WorldObject * > &targets) const
bool Validate(SpellInfo const *) override
void HandlePeriodic(AuraEffect const *aurEff) const
void OnRemove(AuraEffect const *aurEff, AuraEffectHandleModes) const
void HandleDummy(SpellEffIndex) const
bool Validate(SpellInfo const *) override
void HandlePeriodic(AuraEffect const *)
void HandleAfterHit() const
void JustAppeared() override
boss_lord_kazzak_anniversary(Creature *creature)
void UpdateAI(uint32 diff) override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void JustEngagedWith(Unit *who) override
void KilledUnit(Unit *victim) override