325 aura->ModStackAmount(-1);
385 aura->ModStackAmount(10);
First const & RAND(First const &first, Second const &second, Rest const &... rest)
std::chrono::seconds Seconds
Seconds shorthand typedef.
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ AURA_EFFECT_HANDLE_REAL
@ SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN
@ SPELL_AURA_PERIODIC_DUMMY
#define SpellEffectFn(F, I, N)
#define AuraEffectPeriodicFn(F, I, N)
#define AuraEffectApplyFn(F, I, N, M)
#define AuraEffectRemoveFn(F, I, N, M)
@ UNIT_STATE_IGNORE_PATHFINDING
@ ACTION_WATER_GLOBULE_HIT
@ ACTION_PROTECTIVE_BUBBLE_SHATTERED
void AddSC_boss_ichoron()
@ SPELL_WATER_GLOBULE_SUMMON_3
@ SPELL_WATER_GLOBULE_SUMMON_4
@ SPELL_WATER_GLOBULE_SUMMON_2
@ SPELL_WATER_GLOBULE_SUMMON_1
@ SPELL_WATER_BOLT_VOLLEY
@ SPELL_WATER_GLOBULE_SUMMON_5
@ SPELL_WATER_GLOBULE_VISUAL
@ SPELL_WATER_GLOBULE_TRANSFORM
@ SPELL_PROTECTIVE_BUBBLE
void PreventDefaultAction()
AuraApplication const * GetTargetApplication() const
HookList< EffectApplyHandler > AfterEffectRemove
HookList< EffectPeriodicHandler > OnEffectPeriodic
WorldObject * GetOwner() const
HookList< EffectApplyHandler > AfterEffectApply
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void JustReachedHome() override
void SummonedCreatureDespawn(Creature *summon) override
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void SetReactState(ReactStates st)
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
void LowerPlayerDamageReq(uint64 unDamage)
ObjectGuid GetObjectGuid(uint32 type) const
void MoveFollow(Unit *target, float dist, ChaseAngle angle, Optional< Milliseconds > duration={}, MovementSlot slot=MOTION_SLOT_ACTIVE)
LowType GetCounter() const
static ObjectGuid const Empty
static Creature * ToCreature(Object *o)
static Unit * ToUnit(Object *o)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
Creature * GetHitCreature() const
HookList< EffectHandler > OnEffectHitTarget
void Summon(Creature const *summon)
TaskScheduler & DelayAll(std::chrono::duration< Rep, Period > duration)
Delays all tasks with the given duration.
TaskScheduler & Schedule(std::chrono::duration< Rep, Period > time, task_handler_t task)
TaskScheduler & Async(std::function< void()> callable)
TaskScheduler & Update(success_t const &callback=nullptr)
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
SpellCastResult DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
int64 ModifyHealth(int64 val)
MotionMaster * GetMotionMaster()
void SetUnitFlag2(UnitFlags2 flags)
void SetUninteractible(bool apply)
void AddUnitState(uint32 f)
void RemoveUnitFlag2(UnitFlags2 flags)
uint64 CountPctFromMaxHealth(int32 pct) const
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
InstanceScript * GetInstanceScript() const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
virtual void SetData(uint32, uint32)
achievement_dehydration()
bool OnCheck(Player *, Unit *target) override
void HandleRemove(AuraEffect const *, AuraEffectHandleModes)
void HandleApply(AuraEffect const *, AuraEffectHandleModes)
void HandleScript(SpellEffIndex)
bool Validate(SpellInfo const *) override
void HandleShatter(AuraEffect const *, AuraEffectHandleModes)
void PeriodicTick(AuraEffect const *)
bool Validate(SpellInfo const *) override
void HandleRemove(AuraEffect const *, AuraEffectHandleModes)
bool HealthAbovePct(uint32 pct) const
bool HealthBelowPct(uint32 pct) const
void JustSummoned(Creature *summon) override
void KilledUnit(Unit *victim) override
void SummonedCreatureDespawn(Creature *summon) override
void DoAction(int32 actionId) override
uint32 GetData(uint32 type) const override
boss_ichoron(Creature *creature)
void UpdateAI(uint32 diff) override
void JustReachedHome() override
void JustEngagedWith(Unit *who) override
void ScheduleTasks() override
void JustDied(Unit *) override
void MovementInform(uint32 type, uint32 id) override
InstanceScript * _instance
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
npc_ichor_globule(Creature *creature)
void UpdateAI(uint32) override
void SpellHit(WorldObject *caster, SpellInfo const *spellInfo) override
#define RegisterVioletHoldCreatureAI(ai_name)