131 return GetScholomanceAI<boss_kormokAI>(creature);
159 for (
uint32 i = 0; i < 2; ++i)
193 for (
uint32 i = 0; i < 4; ++i)
@ TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN
int32 irand(int32 min, int32 max)
uint32 urand(uint32 min, uint32 max)
@ SPELL_EFFECT_SCRIPT_EFFECT
#define SpellEffectFn(F, I, N)
@ SPELL_SUMMON_BONE_MAGES
@ SPELL_SUMMON_BONE_MAGE_BACK_LEFT
@ SPELL_SUMMON_BONE_MINIONS
@ SPELL_SHADOWBOLT_VOLLEY
@ SPELL_SUMMON_BONE_MAGE_FRONT_LEFT
@ SPELL_SUMMON_BONE_MAGE_BACK_RIGHT
@ SPELL_SUMMON_BONE_MAGE_FRONT_RIGHT
@ EVENT_SHADOWBOLT_VOLLEY
uint32 const SummonMageSpells[4]
void AttackStart(Unit *victim) override
== Triggered Actions Requested ==================
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
void PreventHitDefaultEffect(SpellEffIndex effIndex)
HookList< EffectHandler > OnEffectHitTarget
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
bool HasUnitState(const uint32 f) const
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
TempSummon * SummonCreature(uint32 entry, Position const &pos, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, uint32 vehId=0, uint32 spellId=0, ObjectGuid privateObjectOwner=ObjectGuid::Empty)
CreatureAI * GetAI(Creature *creature) const override
bool Validate(SpellInfo const *) override
void HandleScript(SpellEffIndex effIndex)
SpellScript * GetSpellScript() const override
spell_kormok_summon_bone_mages()
void HandleScript(SpellEffIndex effIndex)
bool Validate(SpellInfo const *) override
SpellScript * GetSpellScript() const override
spell_kormok_summon_bone_minions()
void JustSummoned(Creature *summoned) override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
boss_kormokAI(Creature *creature)
void JustEngagedWith(Unit *) override
void UpdateAI(uint32 diff) override