233 aura->RefreshDuration();
bool roll_chance_i(int chance)
#define RegisterSpellScript(spell_script)
@ TARGET_UNIT_SRC_AREA_ALLY
@ TRIGGERED_FULL_MASK
Used when doing CastSpell with triggered == true.
#define SpellEffectFn(F, I, N)
#define SpellObjectAreaTargetSelectFn(F, I, N)
#define RegisterAhnKahetCreatureAI(ai_name)
void AddSC_boss_elder_nadox()
@ SPELL_SUMMON_SWARM_GUARD
ParallelogramBoundary const ElderNadoxRoomBoundary
@ DATA_RESPECT_YOUR_ELDERS
bool IsWithinBoundary(Position const *pos) const
void JustEngagedWith(Unit *who) override
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void Repeat(Milliseconds time)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
HookList< EffectHandler > OnEffectHit
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
virtual uint32 GetData(uint32) const
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 HealthBelowPct(int32 pct) const
bool HasUnitState(const uint32 f) 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)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
achievement_respect_your_elders()
bool OnCheck(Player *, Unit *target) override
bool Validate(SpellInfo const *) override
void HandleDummy(SpellEffIndex)
void CountTargets(std::list< WorldObject * > &targets)
void JustDied(Unit *) override
void KilledUnit(Unit *who) override
boss_elder_nadox(Creature *creature)
void SummonedCreatureDies(Creature *summon, Unit *) override
void UpdateAI(uint32 diff) override
uint32 GetData(uint32 type) const override
void JustEngagedWith(Unit *who) override
npc_ahnkahar_nerubian(Creature *creature)
void UpdateAI(uint32 diff) override