94 while (
_flag & (1 << rand))
101 while (
_flag & (1 << rand))
104 _flag |= (1 << rand);
106 if (
_flag & (1 << 7))
112 float ImageHealthPct;
115 ImageHealthPct = 0.50f;
117 ImageHealthPct = 0.20f;
119 ImageHealthPct = 0.10f;
204 return GetAQ40AI<boss_skeramAI>(creature);
224 return !creature->IsPet();
uint32 urand(uint32 min, uint32 max)
if(posix_memalign(&__mallocedMemory, __align, __size)) return NULL
@ TARGET_UNIT_SRC_AREA_ENEMY
#define SpellEffectFn(F, I, N)
#define SpellObjectAreaTargetSelectFn(F, I, N)
uint32 const BlinkSpells[3]
@ SPELL_TRUE_FULFILLMENT_2
void JustEngagedWith(Unit *who) override
void JustDied(Unit *) override
virtual void EnterEvadeMode(EvadeReason why=EvadeReason::Other)
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void AttackStart(Unit *victim) override
== Triggered Actions Requested ==================
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
void RescheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
static Creature * ToCreature(Object *o)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
void Summon(Creature const *summon)
SpellCastResult DoCastVictim(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 DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
bool IsWithinMeleeRange(Unit const *obj) const
float GetHealthPct() const
void SetHealth(uint64 val)
uint64 GetMaxHealth() const
void SetMaxHealth(uint64 val)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
CreatureAI * GetAI(Creature *creature) const override
void FilterTargets(std::list< WorldObject * > &targets)
spell_skeram_arcane_explosion()
SpellScript * GetSpellScript() const override
void HandleEffect(SpellEffIndex)
bool Validate(SpellInfo const *) override
spell_skeram_true_fulfillment()
SpellScript * GetSpellScript() const override
void ResetThreatList(Unit *who=nullptr)
void JustDied(Unit *killer) override
boss_skeramAI(Creature *creature)
void KilledUnit(Unit *) override
void JustSummoned(Creature *creature) override
void UpdateAI(uint32 diff) override
void EnterEvadeMode(EvadeReason why) override
void JustEngagedWith(Unit *who) override